summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorKamil Trzciński (OoO till 3th) <ayufan@ayufan.eu>2018-07-04 14:51:38 +0000
committerKamil Trzciński (OoO till 3th) <ayufan@ayufan.eu>2018-07-04 14:51:38 +0000
commit170a15514ae6889079d06d0b1be089bda3d29c52 (patch)
tree9d5af4e920b4eff0fc38bf9d846cdff52d0319e2 /config/routes/project.rb
parentbcd54f132d9f29afc91f06b14514caed2d27d497 (diff)
parent12d340427ff0a93bb494972c5eded7cf7f6419d6 (diff)
downloadgitlab-ce-170a15514ae6889079d06d0b1be089bda3d29c52.tar.gz
Merge branch '43446-new-cluster-page-tabs' into 'master'
Resolve "Change new cluster page design to use tabs" Closes #43446 and #46304 See merge request gitlab-org/gitlab-ce!18963
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index b689b9800e6..a9cff7ff028 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -206,14 +206,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources :clusters, except: [:edit, :create] do
collection do
- scope :providers do
- get '/user/new', to: 'clusters/user#new'
- post '/user', to: 'clusters/user#create'
-
- get '/gcp/new', to: 'clusters/gcp#new'
- get '/gcp/login', to: 'clusters/gcp#login'
- post '/gcp', to: 'clusters/gcp#create'
- end
+ post :create_gcp
+ post :create_user
end
member do