Skip to content

Commit

Permalink
Fixes translation key in TermsController
Browse files Browse the repository at this point in the history
Fixes translation key which holds URL for redirecting in TermsController. Probably forgotten to update in 606b5c1 where translation keys were changed.
  • Loading branch information
nenad-vujicic committed Jan 15, 2025
1 parent f32aea6 commit b75ed16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/accounts/terms_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def update

redirect_to referer || edit_account_path
elsif params[:decline]
redirect_to t("users.terms.declined"), :allow_other_host => true
redirect_to t("accounts.terms.show.declined"), :allow_other_host => true
else
redirect_to account_terms_path
end
Expand Down

0 comments on commit b75ed16

Please sign in to comment.