diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-15 00:33:21 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-12-01 00:22:43 +0300 |
commit | a167897bed66ed2b9aafad7020d75334e2badf32 (patch) | |
tree | fc5b111f2a9d84185cb764ca37b1f29e3621fdf2 /app/helpers/nav_helper.rb | |
parent | 24e5a1e8db943be346b4f7f4fb49326ad0e5eb9e (diff) |
move wiki navbar content to right sidebar
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb index df87fac132d..2aeab4b6b62 100644 --- a/app/helpers/nav_helper.rb +++ b/app/helpers/nav_helper.rb @@ -20,6 +20,12 @@ module NavHelper end elsif current_path?('builds#show') "page-gutter build-sidebar right-sidebar-expanded" + elsif current_path?('wikis#show') || + current_path?('wikis#edit') || + current_path?('wikis#history') || + current_path?('wikis#pages') || + current_path?('wikis#git_access') + "page-gutter wiki-sidebar right-sidebar-expanded" end end |