Skip to content

Commit

Permalink
revert changes on home controller
Browse files Browse the repository at this point in the history
  • Loading branch information
yksflip committed Mar 6, 2023
1 parent afd82a4 commit 4ee0f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def update_profile
if @current_user.update(user_params)
@current_user.ordergroup.update(ordergroup_params) if ordergroup_params
session[:locale] = @current_user.locale
redirect_to my_profile_path, notice: I18n.t('home.changes_saved')
redirect_to my_profile_url, notice: I18n.t('home.changes_saved')
else
render :profile
end
Expand Down

0 comments on commit 4ee0f76

Please sign in to comment.