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

@ -3,8 +3,8 @@
= link_to project_path(@project), class: "activities-tab tab" do
%i.icon-home
Show
%li{ class: " #{'active' if (controller.controller_name == "team_members") || current_page?(team_project_path(@project)) }" }
= link_to team_project_path(@project), class: "team-tab tab" do
%li{ class: " #{'active' if (controller.controller_name == "team_members") || current_page?(project_team_index_path(@project)) }" }
= link_to project_team_index_path(@project), class: "team-tab tab" do
%i.icon-user
Team
%li{ class: "#{'active' if current_page?(files_project_path(@project)) }" }