Sha256: d4be63ffeaed3e46ce223544fd7492ab69ff47acf6d5c6fd3a148f8a8a7d6731
Contents?: true
Size: 620 Bytes
Versions: 61
Compression:
Stored size: 620 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 receiver.send :helper_method, :spree_current_user end def spree_current_user current_user 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.send :include, Spree::AuthenticationHelpers
Version data entries
61 entries across 61 versions & 2 rubygems