summaryrefslogtreecommitdiff
path: root/app/controllers/projects/deploy_tokens_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/deploy_tokens_controller.rb')
-rw-r--r--app/controllers/projects/deploy_tokens_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/deploy_tokens_controller.rb b/app/controllers/projects/deploy_tokens_controller.rb
index 2f91b8f36de..83abda64fe0 100644
--- a/app/controllers/projects/deploy_tokens_controller.rb
+++ b/app/controllers/projects/deploy_tokens_controller.rb
@@ -5,6 +5,6 @@ class Projects::DeployTokensController < Projects::ApplicationController
@token = @project.deploy_tokens.find(params[:id])
@token.revoke!
- redirect_to project_settings_repository_path(project)
+ redirect_to project_settings_repository_path(project, anchor: 'js-deploy-tokens')
end
end