diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-09-02 18:57:22 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-09-07 22:02:21 +0300 |
commit | 32c53d6d1b71885acbcab7829e197744a357c9fc (patch) | |
tree | fd84cdc3b4ed340aba01282d047a71352640e016 /app/helpers/nav_helper.rb | |
parent | a510fe11026ddfd264b9cc4627541b6dac0c38c7 (diff) |
remove dead code - 'collapsed_nav' cookie no longer used since a1fbdbb6 (see MR !4579)
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb index 99e39eb442a..df87fac132d 100644 --- a/app/helpers/nav_helper.rb +++ b/app/helpers/nav_helper.rb @@ -1,16 +1,4 @@ module NavHelper - def nav_menu_collapsed? - cookies[:collapsed_nav] == 'true' - end - - def nav_sidebar_class - if nav_menu_collapsed? - "sidebar-collapsed" - else - "sidebar-expanded" - end - end - def page_sidebar_class if pinned_nav? "page-sidebar-expanded page-sidebar-pinned" @@ -24,7 +12,6 @@ module NavHelper 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" |