diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-15 14:20:03 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-15 14:20:03 +0200 |
commit | 35ad4fe7db13f3974ca8f0bbce2b39a1b2357b5c (patch) | |
tree | 5522dc41d44a072cc1422316bfc34cf35ed3a7c0 /app/helpers/tab_helper.rb | |
parent | 39bbdc468f628ae9835926a09e24a91c702ddede (diff) | |
download | gitlab-ce-35ad4fe7db13f3974ca8f0bbce2b39a1b2357b5c.tar.gz |
Use wiki tab for wiki, wall, snippets
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r-- | app/helpers/tab_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb index 3465bf456f1..62a380eb730 100644 --- a/app/helpers/tab_helper.rb +++ b/app/helpers/tab_helper.rb @@ -80,7 +80,7 @@ module TabHelper end end - def project_writeboards_tab_class + def project_wiki_tab_class [:files, :wall].each do |action| return "active" if current_page?(controller: "projects", action: action, id: @project) end |