diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-10-19 14:42:30 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-01 19:36:58 +1300 |
commit | 88800abcd8741b07114c2850e00b74fbecfbf90e (patch) | |
tree | 06dcb6a6a8036164eb73df0da2cc13150357dda7 /bin | |
parent | 5b3c096c9e0c9e8e7e1cb35c1b9e347995b948f5 (diff) | |
download | gitlab-ce-88800abcd8741b07114c2850e00b74fbecfbf90e.tar.gz |
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
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions