diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-17 18:00:32 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-17 18:00:32 +0300 |
commit | 7d2b34bd61df9722ac2461e87ce595228eecef21 (patch) | |
tree | 1f7612dc85e8d83ade5673278cc3e14e2a9ea54d /app/controllers/projects/deploy_keys_controller.rb | |
parent | 9c7fffb6559facdcf8bbda680795f70d836293bf (diff) |
Satisfy Rubocop.
Diffstat (limited to 'app/controllers/projects/deploy_keys_controller.rb')
-rw-r--r-- | app/controllers/projects/deploy_keys_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/deploy_keys_controller.rb b/app/controllers/projects/deploy_keys_controller.rb index 2ecde8381e7..679a5d76ec0 100644 --- a/app/controllers/projects/deploy_keys_controller.rb +++ b/app/controllers/projects/deploy_keys_controller.rb @@ -37,8 +37,7 @@ class Projects::DeployKeysController < Projects::ApplicationController @key.destroy respond_to do |format| - format.html { redirect_to namespace_project_deploy_keys_path(@project.namespace, - @project) } + format.html { redirect_to namespace_project_deploy_keys_path(@project.namespace, @project) } format.js { render nothing: true } end end |