summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-06-11 22:57:04 -0700
committerDennis Tang <dtang@gitlab.com>2018-06-19 15:01:43 +0000
commitce0ce1cb196e924b13631565114352ed89eba5af (patch)
tree4a73c43d1951e6507326312f1c214bc52887035f /config
parentcc0305565704e8f713cd615f5a6767498bd03706 (diff)
downloadgitlab-ce-ce0ce1cb196e924b13631565114352ed89eba5af.tar.gz
consolidate back into one controller
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
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