BigW Consortium Gitlab

Commit 01d8c7d6 by Dmitriy Zaporozhets

Merge pull request #4000 from babatakao/fix_link_404

Fix link 404.
parents d5d0c00e e8d2f288
......@@ -13,7 +13,7 @@
= link_to 'Remove', project_deploy_key_path(@project, deploy_key), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key btn-small pull-right"
= link_to project_deploy_key_path(@project, deploy_key) do
= link_to project_deploy_key_path(deploy_key.projects.include?(@project) ? @project : deploy_key.projects.first, deploy_key) do
%i.icon-key
%strong= deploy_key.title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment