Permalink
Browse files

make current_user helper method available in Spree views

  • Loading branch information...
radar committed Jun 1, 2012
1 parent 45e1309 commit 514e26797e903bba50eba841987982c95089c4c0
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/app/controllers/spree/base_controller.rb
@@ -44,6 +44,7 @@ def title
def current_user
respond_to?(:spree_current_user) ? spree_current_user : nil
end
+ helper_method :current_user
protected

0 comments on commit 514e267

Please sign in to comment.