diff options
author | Bryce <bryce@gitlab.com> | 2016-08-23 11:39:31 +0300 |
---|---|---|
committer | Bryce <bryce@gitlab.com> | 2016-08-23 12:18:48 +0300 |
commit | 2c909a5a3c219cad6e6ef8c78a4984ab311d14cb (patch) | |
tree | 4db13fce4a0ef647ad90fc4a8d9c6046ebb9157d /app/helpers/nav_helper.rb | |
parent | 148b8487b817a0c8854c6842109ce1abc5aa4306 (diff) |
Check for pipelines when setting page_gutter_class.
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 2 |
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" |