Permalink
Browse files

Made spree_current_user method available as a helper

  • Loading branch information...
1 parent beff51c commit d3413ead807d8593b1e817ab5510b3bfbeae817a @radar radar committed Jun 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/spree/authentication_helpers.rb
@@ -1,6 +1,7 @@
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

0 comments on commit d3413ea

Please sign in to comment.