diff options
author | Enrique Alcantara <ealcantara@gitlab.com> | 2019-09-06 18:58:43 -0400 |
---|---|---|
committer | Enrique Alcantara <ealcantara@gitlab.com> | 2019-09-06 18:58:43 -0400 |
commit | 584c8797e7176c3938fdc2527385de5259fae3ae (patch) | |
tree | 5f401d9f9d0ae3df4d096a83567c8c4b6aee16f7 | |
parent | 9e5067adf5ffcccc113e8900c839a4bfbd0d8adc (diff) | |
download | gitlab-ce-add-cloud-provider-selector-buttons.tar.gz |
Set right active_tab valuesadd-cloud-provider-selector-buttons
-rw-r--r-- | app/controllers/clusters/clusters_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/clusters/clusters_controller.rb b/app/controllers/clusters/clusters_controller.rb index c230eea45d2..bcd771dafcf 100644 --- a/app/controllers/clusters/clusters_controller.rb +++ b/app/controllers/clusters/clusters_controller.rb @@ -105,7 +105,7 @@ class Clusters::ClustersController < Clusters::BaseController validate_gcp_token user_cluster - render :new, locals: { active_tab: 'gcp' } + render :new, locals: { active_tab: 'create' } end end @@ -122,7 +122,7 @@ class Clusters::ClustersController < Clusters::BaseController validate_gcp_token gcp_cluster - render :new, locals: { active_tab: 'user' } + render :new, locals: { active_tab: 'add' } end end |