Remove Projects#team action
Uses TeamMembers#index instead, to be more RESTful
This commit is contained in:
parent
8cfb197dfc
commit
95bd93fe1a
11 changed files with 13 additions and 20 deletions
|
@ -227,7 +227,6 @@ end
|
|||
|
||||
# projects POST /projects(.:format) projects#create
|
||||
# new_project GET /projects/new(.:format) projects#new
|
||||
# team_project GET /:id/team(.:format) projects#team
|
||||
# wall_project GET /:id/wall(.:format) projects#wall
|
||||
# graph_project GET /:id/graph(.:format) projects#graph
|
||||
# files_project GET /:id/files(.:format) projects#files
|
||||
|
@ -244,10 +243,6 @@ describe ProjectsController, "routing" do
|
|||
get("/projects/new").should route_to('projects#new')
|
||||
end
|
||||
|
||||
it "to #team" do
|
||||
get("/gitlabhq/team").should route_to('projects#team', id: 'gitlabhq')
|
||||
end
|
||||
|
||||
it "to #wall" do
|
||||
get("/gitlabhq/wall").should route_to('projects#wall', id: 'gitlabhq')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue