Skip to content
Snippets Groups Projects
Commit 008ef89d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'bug/jschatz1/sidebar-issues' into 'master'

Fix diff and commit view on merge requests

with new sidebar
Fixes #3981

See merge request !2718
parents ec55d89c 5d2299ac
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment