Skip to content

Commit

Permalink
Fix account_path
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Milewski authored and damianlegawiec committed Nov 22, 2019
1 parent dda1b11 commit 1f64889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/controllers/spree/addresses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def create
@address = spree_current_user.addresses.build(address_params)
if @address.save
flash[:notice] = I18n.t(:successfully_created, scope: :address_book)
redirect_to account_path
redirect_to spree.account_path
else
render :action => 'new'
end
Expand Down

0 comments on commit 1f64889

Please sign in to comment.