Commit graph

7 commits

Author SHA1 Message Date
João Cunha
1186a6fd54 Sends update route to the client
- extends presenters to include update endpoint path
- sends path to the client on clusters clusters show view.
2019-03-05 08:32:51 +02:00
Thong Kuah
34d9e463ce Correct link to group clusters docs
Not project clusters
2018-12-06 16:25:18 +13:00
Thong Kuah
ecb4a29fc0 Reverse view override as EE has an override too
Use presenters instead otherwise we will have x2 overides in EE
2018-11-08 23:28:30 +13:00
Thong Kuah
b019224ff2 Refactor to use presenter
Refacotr project or group specific `if` logic to be contained within
each presenter instead.

Also add :override to ensure super method exists.
2018-11-08 23:28:30 +13:00
Mike Greiling
83b8321aea Rename is_project? to project? 2018-11-08 23:28:30 +13:00
Mike Greiling
1dba5dbc3a Update empty state for group clusters index 2018-11-08 23:28:30 +13:00
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