Skip to content
代码片段 群组 项目
  • Thong Kuah's avatar
    40060eca
    Abstract out project out of ClustersController · 40060eca
    Thong Kuah 创作于
    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
    40060eca
    历史
    Abstract out project out of ClustersController
    Thong Kuah 创作于
    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
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。
clusters_finder.rb 551 B