Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrique Alcántara <ealcantara@gitlab.com>2019-09-09 23:27:51 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-09-09 23:27:51 +0300
commit90e3a4919fd977c1615a5270fd49146140159f6c (patch)
treea6a304f25a361037a94d4dcb3468344feeda5d78 /app/presenters/instance_clusterable_presenter.rb
parent56342d8895da85f71900ec7be171d7a2daea5ee0 (diff)
Create new feature flagged UI for cloud providers
- Create HAML UI select a cloud provider to create a cluster. - Add query param to :new cluster view to display a specific cluster provider form depending on the value of the provider query param. - Update unit tests and e2e tests to reflect these changes
Diffstat (limited to 'app/presenters/instance_clusterable_presenter.rb')
-rw-r--r--app/presenters/instance_clusterable_presenter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/instance_clusterable_presenter.rb b/app/presenters/instance_clusterable_presenter.rb
index f8bbe5216f1..cce400ad2a1 100644
--- a/app/presenters/instance_clusterable_presenter.rb
+++ b/app/presenters/instance_clusterable_presenter.rb
@@ -18,8 +18,8 @@ class InstanceClusterablePresenter < ClusterablePresenter
end
override :new_path
- def new_path
- new_admin_cluster_path
+ def new_path(options = {})
+ new_admin_cluster_path(options)
end
override :cluster_status_cluster_path