• Thong Kuah's avatar
    Abstract out project out of ClustersController · 88800abc
    Thong Kuah authored
    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
    - Create a nice helper for to generate links for the destroy
    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
    - Move :layout to BaseController
clusters_finder.rb 551 Bytes