diff options
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 22f637946d9..bcee81bdc15 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -306,6 +306,10 @@ module ApplicationHelper cookies["new_nav"] == "true" end + def collapsed_sidebar? + cookies["sidebar_collapsed"] == "true" + end + def show_new_repo? cookies["new_repo"] == "true" && body_data_page != 'projects:show' end |