Commit graph

4 commits

Author SHA1 Message Date
Thong Kuah
54e8ff0f21 Extend clusters_controller for group type clusters
- Add pages javascripts to intialize clusters for group pages

- Move specs asserting gcp specific validations from controller into
UpdateService spec

- Also teach Clusters::ApplicationController about groups
2018-11-08 23:14:06 +13:00
Thong Kuah
1163b23539 Move view and path concerns to presenters
- Move show path for cluster to ClusterPresenter

- Create ClusterablePresenter to encapsulate logic. Consolidates
scattered methods from BaseController and ClustersHelper into an object.
2018-11-01 19:37:32 +13:00
Matija Čupić
83648f243d
Move can_toggle_cluster? from helper to presenter 2017-12-05 17:09:04 +01:00
Shinya Maeda
944149ec16 spec for spec/presenters 2017-10-31 01:09:39 +09:00