Sha256: ed04b2686fc688bf4ca7dc61e1aa73170af9b9635587d94228f53e3148e20719
Contents?: true
Size: 537 Bytes
Versions: 5
Compression:
Stored size: 537 Bytes
Contents
module Spree module AuthenticationHelpers def self.included(receiver) receiver.send :helper_method, :spree_login_path receiver.send :helper_method, :spree_signup_path receiver.send :helper_method, :spree_logout_path end def spree_login_path main_app.login_path end def spree_signup_path main_app.signup_path end def spree_logout_path main_app.logout_path end end end ApplicationController.include Spree::AuthenticationHelpers if defined?(ApplicationController)
Version data entries
5 entries across 5 versions & 1 rubygems