summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-13 16:22:03 +0100
committerDouwe Maan <douwe@gitlab.com>2015-03-15 13:50:38 +0100
commit31fc73f0a9b9225ba3737b9525fcf7a1695a45f2 (patch)
tree9133896ed94f8132a76acd9735f1e29f7c1db8b6 /config
parent99f995755ef4b445216dd7baae35f5a4846ef30c (diff)
downloadgitlab-ce-31fc73f0a9b9225ba3737b9525fcf7a1695a45f2.tar.gz
Use `project_member` instead of `team_member`.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 889995e92a6..547d1aa8660 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -136,7 +136,7 @@ Gitlab::Application.routes.draw do
resources :groups, constraints: { id: /[^\/]+/ } do
member do
- put :project_teams_update
+ put :members_update
end
end
@@ -445,7 +445,7 @@ Gitlab::Application.routes.draw do
end
end
- resources :team_members, except: [:index, :edit], constraints: { id: /[a-zA-Z.\/0-9_\-#%+]+/ } do
+ resources :project_members, except: [:new, :edit], constraints: { id: /[a-zA-Z.\/0-9_\-#%+]+/ } do
collection do
delete :leave