summaryrefslogtreecommitdiff
path: root/app/views/admin/runners/show.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-14 12:45:03 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-14 12:46:26 +0100
commitcb4b4c57864867ba4aff04c38516042ef89f0bf7 (patch)
treef8a2f7250de3c801c58cc251d3d0d9f923a2b50b /app/views/admin/runners/show.html.haml
parent927c40ca496dcb1e7daa567ce173de044b1d3377 (diff)
downloadgitlab-ce-cb4b4c57864867ba4aff04c38516042ef89f0bf7.tar.gz
Fix 500 when viewing specific runners on runners page [ci skip]
Diffstat (limited to 'app/views/admin/runners/show.html.haml')
-rw-r--r--app/views/admin/runners/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/runners/show.html.haml b/app/views/admin/runners/show.html.haml
index 32051852dc0..8700b4820cd 100644
--- a/app/views/admin/runners/show.html.haml
+++ b/app/views/admin/runners/show.html.haml
@@ -60,7 +60,7 @@
= project.name_with_namespace
%td
.pull-right
- = link_to 'Disable', [:admin, project.namespace, project, runner_project], method: :delete, class: 'btn btn-danger btn-xs'
+ = link_to 'Disable', [:admin, project.namespace.becomes(Namespace), project, runner_project], method: :delete, class: 'btn btn-danger btn-xs'
%table.table
%thead