diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-08-07 12:24:52 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-08-07 12:24:52 -0500 |
commit | 625b0bcfba0a3cb1bf4f4a0d5f224c958e73239c (patch) | |
tree | 8fe159a8e2ebc56eb2ae765d4a7763abf16dc1c9 /app/helpers/application_helper.rb | |
parent | b12107a0b953b566cd58db30ae880800a4a695a6 (diff) | |
download | gitlab-ce-625b0bcfba0a3cb1bf4f4a0d5f224c958e73239c.tar.gz |
Remove JS flicker on page load; UI tweaks
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 14dc9bd9d62..0cfd7822d05 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -305,4 +305,8 @@ module ApplicationHelper def show_new_nav? cookies["new_nav"] == "true" end + + def collapsed_sidebar? + cookies["sidebar_collapsed"] == "true" + end end |