summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-22 14:11:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-22 14:11:20 +0300
commitee13297af2706be438666a3761938423fc9a51db (patch)
tree033488bb6f8fb7efdf0c3d3502d726469ecfb3da /config/routes.rb
parent59f75e6c1ec29721d1430e8dbcb5858a0ddb910a (diff)
downloadgitlab-ce-ee13297af2706be438666a3761938423fc9a51db.tar.gz
Cleanup: removed unused routing/methods. Improved admin area usability
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1a3ea15a17a..1b184fcac0b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -76,16 +76,7 @@ Gitlab::Application.routes.draw do
resources :groups, constraints: { id: /[^\/]+/ } do
member do
- put :project_update
put :project_teams_update
- delete :remove_project
- end
- end
-
- resources :teams, constraints: { id: /[^\/]+/ } do
- scope module: :teams do
- resources :members, only: [:edit, :update, :destroy, :new, :create]
- resources :projects, only: [:edit, :update, :destroy, :new, :create], constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }
end
end
@@ -98,7 +89,7 @@ Gitlab::Application.routes.draw do
resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }, only: [:index, :show] do
scope module: :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do
- resources :members, only: [:edit, :update, :destroy]
+ resources :members, only: [:destroy]
end
end