diff options
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r-- | config/routes/project.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 5a1be1a8b73..4584c8d74a8 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -206,14 +206,7 @@ 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 '/new', to: 'clusters#create_cluster' end member do |