Commit Graph

3 Commits

Author SHA1 Message Date
Thong Kuah 2c6a3f6a1a Remove method as using nested resource routes
We introduced hidden_clusterable_fields in this MR but it is no longer
needed as we have gone back to nested resource routes which should
provide the params such as `project_id`.
2018-11-02 10:40:56 +13:00
Thong Kuah 3e7d483173 Add missing specs for Presenter
Also add missing interface in abstract class.
2018-11-02 09:49:52 +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