Sha256: 0b67f73857f9ffe3a675f91cca94633503114c8448df8a5b193b20e2f7511e75
Contents?: true
Size: 601 Bytes
Versions: 5
Compression:
Stored size: 601 Bytes
Contents
module Spree module AuthenticationHelpers def self.included(receiver) receiver.send :helper_method, :spree_current_user receiver.send :helper_method, :spree_login_path receiver.send :helper_method, :spree_signup_path receiver.send :helper_method, :spree_logout_path end def spree_current_user current_spree_user end def spree_login_path(opts = {}) spree.login_path(opts) end def spree_signup_path(opts = {}) spree.signup_path(opts) end def spree_logout_path(opts = {}) spree.logout_path(opts) end end end
Version data entries
5 entries across 5 versions & 1 rubygems