summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-04 14:43:01 +0100
committerPhil Hughes <me@iamphill.com>2017-07-04 15:23:14 +0100
commite1b3c02d53e8b38891171be48d2fa19ec54d1fb7 (patch)
tree5e8ac2a064ce24999b9689e7433e48108756a38b /app/helpers/application_helper.rb
parentf7e7e40daf335570747b6f8893a63f1e9c91657a (diff)
downloadgitlab-ce-e1b3c02d53e8b38891171be48d2fa19ec54d1fb7.tar.gz
Enables the option in user preferences to turn on the new navigationenable-new-navigation-option-in-preferences
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 7be8e3b96cf..1c165700b19 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -298,10 +298,6 @@ module ApplicationHelper
end
end
- def can_toggle_new_nav?
- Rails.env.development?
- end
-
def show_new_nav?
cookies["new_nav"] == "true"
end