summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r--app/helpers/tab_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb
index 9491e277a02..c26e3467511 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -51,12 +51,6 @@ module TabHelper
end
end
- def commit_tab_class
- if ['commits', 'repositories', 'protected_branches'].include? controller.controller_name
- "active"
- end
- end
-
def branches_tab_class
if current_page?(branches_project_repository_path(@project)) ||
controller.controller_name == "protected_branches" ||