Skip to content
Snippets Groups Projects
Verified Commit 6c0fd3c2 authored by Matija Čupić's avatar Matija Čupić
Browse files

Handle html format in addition to json

parent 91426093
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment