From d39e314cf5896ac06219446dc1ab8707f222d0d8 Mon Sep 17 00:00:00 2001 From: Katarzyna Kobierska Date: Mon, 12 Sep 2016 09:52:56 +0200 Subject: Improve build_path name and admin variable --- app/views/admin/builds/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/admin/builds') 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? -- cgit v1.2.1