Remove Projects#team action

Uses TeamMembers#index instead, to be more RESTful
This commit is contained in:
Robert Speicher 2012-09-16 09:21:20 -04:00
parent 8cfb197dfc
commit 95bd93fe1a
11 changed files with 13 additions and 20 deletions

View file

@ -8,7 +8,7 @@ module TabHelper
end
def project_tab_class
[:show, :files, :team, :edit, :update].each do |action|
[:show, :files, :edit, :update].each do |action|
return "current" if current_page?(controller: "projects", action: action, id: @project)
end