diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-01-10 17:23:22 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-01-10 17:23:22 +0300 |
commit | cf6258af41cee0638665560509c87bb49135081d (patch) | |
tree | 87f1c1f9ba9ad57573eb6805ae5e98fbc4552939 /app/controllers | |
parent | b44583e9c6a00c689be398fee54b24a6dab019a6 (diff) |
Fix billing checking
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/clusters/gcp_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters/gcp_controller.rb b/app/controllers/projects/clusters/gcp_controller.rb index 659bf8d8f82..e0729c60670 100644 --- a/app/controllers/projects/clusters/gcp_controller.rb +++ b/app/controllers/projects/clusters/gcp_controller.rb @@ -1,7 +1,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController before_action :authorize_read_cluster! before_action :authorize_google_api, except: [:login] - before_action :authorize_google_project_billing, only: [:new] + before_action :authorize_google_project_billing, only: [:new, :create] before_action :authorize_create_cluster!, only: [:new, :create] before_action :verify_billing, only: [:create] |