Remove commit_tab_class helper
This commit is contained in:
parent
86a7864dc7
commit
b62d6a1fe2
2 changed files with 1 additions and 7 deletions
|
@ -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" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue