diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-06 18:22:08 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-07 05:20:17 +0300 |
commit | 8c276580431a750a3141f2ec57690da844a75ac4 (patch) | |
tree | cf709c12560df21ae8a85e9f661c421bad40af3a /app/controllers | |
parent | 29913816309c6f6387b20c8702bcc8e90ef3a984 (diff) |
Removes deploy tokens presenter
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/settings/repository_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/settings/repository_controller.rb b/app/controllers/projects/settings/repository_controller.rb index d8592233302..f17056f13e0 100644 --- a/app/controllers/projects/settings/repository_controller.rb +++ b/app/controllers/projects/settings/repository_controller.rb @@ -21,7 +21,7 @@ module Projects def render_show @deploy_keys = DeployKeysPresenter.new(@project, current_user: current_user) - @deploy_tokens = DeployTokensPresenter.new(@project.deploy_tokens.active, current_user: current_user, project: project) + @deploy_tokens = @project.deploy_tokens.active define_deploy_token define_protected_refs |