summaryrefslogtreecommitdiff
path: root/app/views/admin/builds
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-12 09:52:56 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-13 09:05:07 +0200
commitd39e314cf5896ac06219446dc1ab8707f222d0d8 (patch)
treee1a64d78c239de4f5e85ab66cf7be02e07515b15 /app/views/admin/builds
parentb902a9632435ec7e4d4def609c7f0eaaf9d98535 (diff)
downloadgitlab-ce-d39e314cf5896ac06219446dc1ab8707f222d0d8.tar.gz
Improve build_path name and admin variable
Diffstat (limited to 'app/views/admin/builds')
-rw-r--r--app/views/admin/builds/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/builds/index.html.haml b/app/views/admin/builds/index.html.haml
index 7d84172bd2e..e44e58880fa 100644
--- a/app/views/admin/builds/index.html.haml
+++ b/app/views/admin/builds/index.html.haml
@@ -4,8 +4,8 @@
%div{ class: container_class }
.top-area
- - build_path = ->(scope) { admin_builds_path(scope: scope) }
- = render "shared/builds/tabs", build_path: build_path, all_builds: @all_builds, scope: @scope
+ - build_path_proc = ->(scope) { admin_builds_path(scope: scope) }
+ = render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
.nav-controls
- if @all_builds.running_or_pending.any?