diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 00:43:14 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 00:43:14 +0400 |
commit | ae06a0aab8be3ea3bad8066d2e19c12d86b85ad8 (patch) | |
tree | 616538d7f26b90cb9d5160812c2cbb4267fbda53 /app/helpers/tab_helper.rb | |
parent | 6956f1f6e1844c683336eea03d090ed3f306a3f7 (diff) |
Return own tab for wall. Improve Wiki nav. Removed attachments listing page
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r-- | app/helpers/tab_helper.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb index 62a380eb730..d2be4b1a7e6 100644 --- a/app/helpers/tab_helper.rb +++ b/app/helpers/tab_helper.rb @@ -80,16 +80,6 @@ module TabHelper end end - def project_wiki_tab_class - [:files, :wall].each do |action| - return "active" if current_page?(controller: "projects", action: action, id: @project) - end - - if ['wikis', 'snippets'].include? controller.controller_name - "active" - end - end - def branches_tab_class if current_page?(branches_project_repository_path(@project)) || current_controller?(:protected_branches) || |