diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-02-04 14:56:25 -0500 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-02-04 14:56:25 -0500 |
commit | 5d2299ac210df52fefecd507073367952099c91a (patch) | |
tree | ae646e0f786003879794ae1b57ee78aa2f358587 /app/helpers/nav_helper.rb | |
parent | 3720b98e1bdea5901817dd7a58df532bd5e75077 (diff) | |
download | gitlab-ce-5d2299ac210df52fefecd507073367952099c91a.tar.gz |
Fix diff and commit view on merge requestsbug/jschatz1/sidebar-issues
with new sidebar
Fixes #3981
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb index 2c299d1d794..75f2ed5e054 100644 --- a/app/helpers/nav_helper.rb +++ b/app/helpers/nav_helper.rb @@ -32,8 +32,10 @@ module NavHelper end def page_gutter_class - - if current_path?('merge_requests#show') || current_path?('issues#show') + if current_path?('merge_requests#show') || + current_path?('merge_requests#diffs') || + current_path?('merge_requests#commits') || + current_path?('issues#show') if cookies[:collapsed_gutter] == 'true' "page-gutter right-sidebar-collapsed" else |