diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-26 15:02:28 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-26 15:02:28 +0300 |
commit | 112e919823a3286fe7224b01ee3cd87b48c66304 (patch) | |
tree | ede67191a03f9d099eaefa1d1811f176b69e2171 /config/routes.rb | |
parent | a5dbe353549ad71ce2868d67dee5226ad8d46e63 (diff) | |
download | gitlab-ce-112e919823a3286fe7224b01ee3cd87b48c66304.tar.gz |
Remove unnecessary namespaced resource
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index c6b25e460cd..0e6454f00e7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -88,9 +88,7 @@ Gitlab::Application.routes.draw do resource :background_jobs, controller: 'background_jobs', only: [:show] 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: [:destroy] - end + resources :members, only: [:destroy] end root to: "dashboard#index" |