diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-14 11:30:10 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-14 11:30:53 +0100 |
commit | baa38f0dc1a0e1af84cd06a35450d772eee2d1c4 (patch) | |
tree | 1709225213efd0cede4b566a7928247caad3e124 | |
parent | fc1e2f89864a74d78d67ca27d99bd43407c703df (diff) | |
download | gitlab-ce-baa38f0dc1a0e1af84cd06a35450d772eee2d1c4.tar.gz |
Fix runners admin view [ci skip]
-rw-r--r-- | app/views/admin/runners/show.html.haml | 2 |
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 cd0cc2d1776..32051852dc0 100644 --- a/app/views/admin/runners/show.html.haml +++ b/app/views/admin/runners/show.html.haml @@ -82,7 +82,7 @@ = project.name_with_namespace %td .pull-right - = form_for [:admin, project.namespace, project, project.runner_projects.new] do |f| + = form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f| = f.hidden_field :runner_id, value: @runner.id = f.submit 'Enable', class: 'btn btn-xs' = paginate @projects |