Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r--app/helpers/tab_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb
index 137b24102e0..90f3c1e6ae6 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -171,14 +171,6 @@ module TabHelper
current_controller?(c) && current_action?(a)
end
- def branches_tab_class
- if current_controller?(:protected_branches) ||
- current_controller?(:branches) ||
- current_page?(project_repository_path(@project))
- 'active'
- end
- end
-
private
def route_matches_paths?(paths)