Add settings tab to project. Move all project administration there

This commit is contained in:
Dmitriy Zaporozhets 2013-03-14 19:28:29 +02:00
parent d2b882fae5
commit 5c4e74acc3
4 changed files with 29 additions and 29 deletions

View file

@ -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