diff options
author | Enrique Alcántara <ealcantara@gitlab.com> | 2019-09-09 20:27:51 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-09-09 20:27:51 +0000 |
commit | 90e3a4919fd977c1615a5270fd49146140159f6c (patch) | |
tree | a6a304f25a361037a94d4dcb3468344feeda5d78 /app/presenters/clusterable_presenter.rb | |
parent | 56342d8895da85f71900ec7be171d7a2daea5ee0 (diff) | |
download | gitlab-ce-90e3a4919fd977c1615a5270fd49146140159f6c.tar.gz |
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/clusterable_presenter.rb')
-rw-r--r-- | app/presenters/clusterable_presenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/clusterable_presenter.rb b/app/presenters/clusterable_presenter.rb index d1bf0344b66..49c64b31fc7 100644 --- a/app/presenters/clusterable_presenter.rb +++ b/app/presenters/clusterable_presenter.rb @@ -25,8 +25,8 @@ class ClusterablePresenter < Gitlab::View::Presenter::Delegated polymorphic_path([clusterable, :clusters]) end - def new_path - new_polymorphic_path([clusterable, :cluster]) + def new_path(options = {}) + new_polymorphic_path([clusterable, :cluster], options) end def create_user_clusters_path |