summaryrefslogtreecommitdiff
path: root/app/helpers/nav_helper.rb
diff options
context:
space:
mode:
authorBryce <bryce@gitlab.com>2016-08-23 10:39:31 +0200
committerBryce <bryce@gitlab.com>2016-08-23 11:18:48 +0200
commit2c909a5a3c219cad6e6ef8c78a4984ab311d14cb (patch)
tree4db13fce4a0ef647ad90fc4a8d9c6046ebb9157d /app/helpers/nav_helper.rb
parent148b8487b817a0c8854c6842109ce1abc5aa4306 (diff)
downloadgitlab-ce-2c909a5a3c219cad6e6ef8c78a4984ab311d14cb.tar.gz
Check for pipelines when setting page_gutter_class.
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r--app/helpers/nav_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb
index 6c1cc6ef072..2b0ff6c0d00 100644
--- a/app/helpers/nav_helper.rb
+++ b/app/helpers/nav_helper.rb
@@ -25,6 +25,8 @@ module NavHelper
current_path?('merge_requests#commits') ||
current_path?('merge_requests#builds') ||
current_path?('merge_requests#conflicts') ||
+ current_path?('merge_requests#pipelines') ||
+
current_path?('issues#show')
if cookies[:collapsed_gutter] == 'true'
"page-gutter right-sidebar-collapsed"