Add settings tab to project. Move all project administration there
This commit is contained in:
parent
d2b882fae5
commit
5c4e74acc3
4 changed files with 29 additions and 29 deletions
|
@ -73,7 +73,7 @@ module TabHelper
|
|||
end
|
||||
|
||||
def project_tab_class
|
||||
[:show, :files, :edit, :update].each do |action|
|
||||
[:files, :edit].each do |action|
|
||||
return "active" if current_page?(controller: "projects", action: action, id: @project)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue