Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed reference to spree_current_user in dash, and another in promo

  • Loading branch information...
commit 6efdd788f2c4ad4e4fbfa913c2ba3cee5ef1e25a 1 parent 3d739e8
@radar radar authored
View
2  dash/app/controllers/spree/admin/analytics_controller.rb
@@ -6,7 +6,7 @@ def sign_up
@store = {
:first_name => '',
:last_name => '',
- :email => spree_current_user.email,
+ :email => current_user.email,
:currency => 'USD',
:time_zone => Time.zone,
:name => Spree::Config.site_name,
View
2  promo/lib/spree/promo/engine.rb
@@ -11,7 +11,7 @@ def self.activate
Spree::BaseController.class_eval do
# Include list of visited paths in notification payload hash
def default_notification_payload
- { :user => spree_current_user, :order => current_order, :visited_paths => session[:visited_paths] }
+ { :user => current_user, :order => current_order, :visited_paths => session[:visited_paths] }
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.