lib/carter/controller_resource.rb in carter-0.6.1 vs lib/carter/controller_resource.rb in carter-0.6.2
- old
+ new
@@ -51,10 +51,10 @@
def current_shopper
@controller.respond_to?(:current_user) ? @controller.send(:current_user) : nil
end
def store_shopping_location
- @session[:continue_shopping_url] = @controller.request.request_uri
+ @session[:continue_shopping_url] = @controller.request.fullpath
end
def name
@name || name_from_controller
end