Skip to content

Commit

Permalink
Fix redirect to cart
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocellucci committed Feb 19, 2018
1 parent 637db0b commit d19a057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/controllers/spree/orders_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def populate

def populate_redirect
flash[:error] = t('spree.populate_get_error')
redirect_to('/cart')
redirect_to spree.cart_path
end

def empty
Expand Down

0 comments on commit d19a057

Please sign in to comment.