diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-06-12 08:57:04 +0300 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-06-19 18:01:43 +0300 |
commit | ce0ce1cb196e924b13631565114352ed89eba5af (patch) | |
tree | 4a73c43d1951e6507326312f1c214bc52887035f /config | |
parent | cc0305565704e8f713cd615f5a6767498bd03706 (diff) |
consolidate back into one controller
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index f672291a9f1..082a1166c41 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -206,10 +206,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :clusters, except: [:edit, :create] do collection do - scope :providers do - post '/user', to: 'clusters/user#create' - post '/gcp', to: 'clusters/gcp#create' - end + post :create_gcp + post :create_user end member do |