Commit graph

7 commits

Author SHA1 Message Date
Thong Kuah
88800abcd8 Abstract out project out of ClustersController
To the extent possible swap out `project` with `clusterable`

- Abstract paths for showing cluster or clusters. This will allow us to
swap in alternative paths for group level cluster

- Push :project_id and :namespace_id params from the URL to the POST
body.

- Create a nice helper for to generate links for the destroy
action

For some reason, spec :project_id and :namespace_id param are not going
through `to_param` for a JSON format. Manually call `to_param` to fix
specs.

- Move :layout to BaseController
2018-11-01 19:36:58 +13:00
gfyoung
47b3038434 Enable frozen string in app/graphql + app/finders
Partially addresses #47424.
2018-09-11 12:15:23 -07:00
Matija Čupić
899a80955c
Use attr_reader instead of instance variables 2017-11-28 14:39:18 +01:00
Matija Čupić
8796e7278e
Refactor ClustersFinder 2017-11-28 14:22:29 +01:00
Matija Čupić
01c9d8fe5d
Use global project variable in ClustersFinder 2017-11-27 13:59:41 +01:00
Matija Čupić
48b2563e63
Fix mixup with enabled/disabled in ClustersFinder 2017-11-27 13:55:16 +01:00
Matija Čupić
0af5ae90cb
Create ClustersFinder 2017-11-27 13:48:46 +01:00