diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-08-10 16:12:22 +0200 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-13 09:05:07 +0200 |
commit | e9dbcd8abef32884e1fa95a52e4a33d2046ef29a (patch) | |
tree | cf328c58d85bd8e6d146ffb13c30a402442ee7ca /app/views/admin/builds | |
parent | e81ed371a10012c2d09f67b3523c3ba3fd17c7bd (diff) | |
download | gitlab-ce-e9dbcd8abef32884e1fa95a52e4a33d2046ef29a.tar.gz |
Use local variables in partial
Diffstat (limited to 'app/views/admin/builds')
-rw-r--r-- | app/views/admin/builds/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/builds/index.html.haml b/app/views/admin/builds/index.html.haml index 1bf4cb4d124..eb189328ab8 100644 --- a/app/views/admin/builds/index.html.haml +++ b/app/views/admin/builds/index.html.haml @@ -5,7 +5,7 @@ .top-area - build_path = ->(scope) { admin_builds_path(scope: scope) } - = render "projects/builds/tabs", build_path: build_path + = render "projects/builds/tabs", build_path: build_path, all_builds: @all_builds, scope: @scope .nav-controls - if @all_builds.running_or_pending.any? |