Remove commit_tab_class helper
This commit is contained in:
parent
86a7864dc7
commit
b62d6a1fe2
2 changed files with 1 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
- if can? current_user, :download_code, @project
|
||||
%li{class: current_controller?(:tree, :blob, :blame) ? 'active' : ''}
|
||||
= link_to 'Files', project_tree_path(@project, @project.root_ref)
|
||||
%li{class: commit_tab_class}
|
||||
%li{class: current_controller?(:commit, :commits, :compare, :repositories, :protected_branches) ? 'active' : ''}
|
||||
= link_to "Commits", project_commits_path(@project, @project.root_ref)
|
||||
%li{class: tab_class(:network)}
|
||||
= link_to "Network", graph_project_path(@project)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue