summaryrefslogtreecommitdiff
path: root/app/views/shared/_personal_access_tokens_table.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_personal_access_tokens_table.html.haml')
-rw-r--r--app/views/shared/_personal_access_tokens_table.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_personal_access_tokens_table.html.haml b/app/views/shared/_personal_access_tokens_table.html.haml
index 823117f37ca..66cf8c776dd 100644
--- a/app/views/shared/_personal_access_tokens_table.html.haml
+++ b/app/views/shared/_personal_access_tokens_table.html.haml
@@ -29,7 +29,7 @@
- else
%span.token-never-expires-label= _('Never')
%td= token.scopes.present? ? token.scopes.join(", ") : _('<no scopes selected>')
- - path = impersonation ? revoke_admin_user_impersonation_token_path(token.user, token) : revoke_profile_personal_access_token_path(token)
+ - path = impersonation ? revoke_admin_user_impersonation_token_path(token.user, token) : revoke_settings_personal_access_token_path(token)
%td= link_to _('Revoke'), path, method: :put, class: "btn btn-danger float-right qa-revoke-button", data: { confirm: _('Are you sure you want to revoke this %{type} Token? This action cannot be undone.') % { type: type } }
- else
.settings-message.text-center