summaryrefslogtreecommitdiff
path: root/app/helpers/nav_helper.rb
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-23 15:53:51 -0500
committerMike Greiling <mike@pixelcog.com>2017-03-24 17:06:24 -0500
commit822bfafae2f30d13a3b1bf8f3b31802c31b05072 (patch)
tree7560c5ee3ea5886394b132371232169e3578966e /app/helpers/nav_helper.rb
parentf1e1e51311b6f50c98b3e1476942107269c28a97 (diff)
downloadgitlab-ce-822bfafae2f30d13a3b1bf8f3b31802c31b05072.tar.gz
add basic sidebar functionality to milestones page
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r--app/helpers/nav_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb
index 991fd949b94..17bfd07e00f 100644
--- a/app/helpers/nav_helper.rb
+++ b/app/helpers/nav_helper.rb
@@ -6,7 +6,8 @@ module NavHelper
current_path?('merge_requests#builds') ||
current_path?('merge_requests#conflicts') ||
current_path?('merge_requests#pipelines') ||
- current_path?('issues#show')
+ current_path?('issues#show') ||
+ current_path?('milestones#show')
if cookies[:collapsed_gutter] == 'true'
"page-gutter right-sidebar-collapsed"
else