-
- Downloads
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
Showing
- app/controllers/clusters/applications_controller.rb 1 addition, 1 deletionapp/controllers/clusters/applications_controller.rb
- app/controllers/clusters/base_controller.rb 31 additions, 1 deletionapp/controllers/clusters/base_controller.rb
- app/controllers/clusters_controller.rb 14 additions, 20 deletionsapp/controllers/clusters_controller.rb
- app/finders/clusters_finder.rb 4 additions, 4 deletionsapp/finders/clusters_finder.rb
- app/helpers/clusters_helper.rb 25 additions, 1 deletionapp/helpers/clusters_helper.rb
- app/services/clusters/create_service.rb 17 additions, 5 deletionsapp/services/clusters/create_service.rb
- app/views/clusters/_advanced_settings.html.haml 1 addition, 1 deletionapp/views/clusters/_advanced_settings.html.haml
- app/views/clusters/_cluster.html.haml 2 additions, 2 deletionsapp/views/clusters/_cluster.html.haml
- app/views/clusters/_empty_state.html.haml 2 additions, 2 deletionsapp/views/clusters/_empty_state.html.haml
- app/views/clusters/_integration_form.html.haml 4 additions, 3 deletionsapp/views/clusters/_integration_form.html.haml
- app/views/clusters/gcp/_form.html.haml 3 additions, 2 deletionsapp/views/clusters/gcp/_form.html.haml
- app/views/clusters/gcp/_show.html.haml 2 additions, 1 deletionapp/views/clusters/gcp/_show.html.haml
- app/views/clusters/show.html.haml 9 additions, 8 deletionsapp/views/clusters/show.html.haml
- app/views/clusters/user/_form.html.haml 3 additions, 2 deletionsapp/views/clusters/user/_form.html.haml
- app/views/clusters/user/_show.html.haml 2 additions, 1 deletionapp/views/clusters/user/_show.html.haml
- config/routes.rb 16 additions, 14 deletionsconfig/routes.rb
- spec/controllers/clusters_controller_spec.rb 4 additions, 4 deletionsspec/controllers/clusters_controller_spec.rb
- spec/services/clusters/create_service_spec.rb 28 additions, 3 deletionsspec/services/clusters/create_service_spec.rb
Please register or sign in to comment