X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90e787eed845a850eab63a22831c9cfa47f4dd3d..2de26d54ef22c5653f830d0ce4938df78d0ca0fd:/app/controllers/accounts/terms_controller.rb diff --git a/app/controllers/accounts/terms_controller.rb b/app/controllers/accounts/terms_controller.rb index 03007a532..568abcdb9 100644 --- a/app/controllers/accounts/terms_controller.rb +++ b/app/controllers/accounts/terms_controller.rb @@ -21,7 +21,7 @@ module Accounts if current_user.terms_agreed? # Already agreed to terms, so just show settings - redirect_to edit_account_path + redirect_to account_path end end end @@ -43,7 +43,7 @@ module Accounts referer = safe_referer(params[:referer]) if params[:referer] - redirect_to referer || edit_account_path + redirect_to referer || account_path end end end