diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-16 13:31:39 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-21 16:45:23 +0300 |
commit | c5f25f6550a3563507e39b1e5eea5df84a8bba2f (patch) | |
tree | 09d80b24319559919470f0db51c36f79019b0c8d /app/helpers | |
parent | 78ee24ba53a4a44d829613495ec0d5f1bbb5a9ee (diff) |
Top navigation redesign
Start of the new navigation by redesigning just the top navigation menu.
This is only shown when a cookie is set.
Part of #32794
Diffstat (limited to 'app/helpers')
-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 a3b243fccb7..46be72ad81c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -300,4 +300,8 @@ module ApplicationHelper "https://www.twitter.com/#{name}" end end + + def show_new_nav? + cookies["new_nav"] == "true" + end end |