diff options
-rw-r--r-- | app/controllers/projects/clusters/gcp_controller.rb | 2 | ||||
-rw-r--r-- | config/routes/project.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters/gcp_controller.rb b/app/controllers/projects/clusters/gcp_controller.rb index 95c947001a3..34d4fd7d7ca 100644 --- a/app/controllers/projects/clusters/gcp_controller.rb +++ b/app/controllers/projects/clusters/gcp_controller.rb @@ -27,6 +27,8 @@ class Projects::Clusters::GcpController < Projects::ApplicationController render json: { billing: redis.get(CheckGcpProjectBillingWorker.redis_shared_state_key_for(token_in_session)) } end end + + format.html { render :check } end end diff --git a/config/routes/project.rb b/config/routes/project.rb index 26eb4fbeda3..9fbd0476bb8 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -189,9 +189,9 @@ constraints(ProjectUrlConstrainer.new) do get '/user/new', to: 'clusters/user#new' post '/user', to: 'clusters/user#create' - get '/gcp/check', to: 'clusters/gcp#check' get '/gcp/new', to: 'clusters/gcp#new' get '/gcp/login', to: 'clusters/gcp#login' + get '/gcp/check', to: 'clusters/gcp#check' post '/gcp', to: 'clusters/gcp#create' end end |