Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-04 16:43:01 +0300
committerPhil Hughes <me@iamphill.com>2017-07-04 17:23:14 +0300
commite1b3c02d53e8b38891171be48d2fa19ec54d1fb7 (patch)
tree5e8ac2a064ce24999b9689e7433e48108756a38b /app/helpers/application_helper.rb
parentf7e7e40daf335570747b6f8893a63f1e9c91657a (diff)
Enables the option in user preferences to turn on the new navigation
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