diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-06-11 22:57:04 -0700 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-06-19 15:01:43 +0000 |
commit | ce0ce1cb196e924b13631565114352ed89eba5af (patch) | |
tree | 4a73c43d1951e6507326312f1c214bc52887035f /config | |
parent | cc0305565704e8f713cd615f5a6767498bd03706 (diff) | |
download | gitlab-ce-ce0ce1cb196e924b13631565114352ed89eba5af.tar.gz |
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 |