• Thong Kuah's avatar
    Convert clusters to use a top-level controller · 5b3c096c
    Thong Kuah authored
    In preparation so that we can create both cluster attached to project
    and cluster attached to group.
    
    - Move ClustersController to top level
    
    - Move Clusters::ApplicationsController to top-level too
    
    - Creates a Clusters::BaseController to share common functions
    
    - Do not rely on @project ivar. Anything could set the ivar.
    
    - Fix Vue page components due to new data-page value
    
    Because of the controller change we have gone from
    `projects:clusters:new` to `clusters:new`, so we need to update the file
    location of the page components. There is somewhere a function that will
    convert data-page to a file location.
    
    On that note, projects/clusters/gcp/new/, translate to
    Projects::Clusters::Gcp#new doesn't exist so replace that with
    clusters/create_gcp/ and clusters/create_user/
    5b3c096c
Name
Last commit
Last update
..
admin.rb Loading commit data...
api.rb Loading commit data...
ci.rb Loading commit data...
dashboard.rb Loading commit data...
development.rb Loading commit data...
explore.rb Loading commit data...
git_http.rb Loading commit data...
google_api.rb Loading commit data...
group.rb Loading commit data...
help.rb Loading commit data...
import.rb Loading commit data...
instance_statistics.rb Loading commit data...
legacy_builds.rb Loading commit data...
profile.rb Loading commit data...
project.rb Loading commit data...
repository.rb Loading commit data...
sherlock.rb Loading commit data...
sidekiq.rb Loading commit data...
snippets.rb Loading commit data...
uploads.rb Loading commit data...
user.rb Loading commit data...
wiki.rb Loading commit data...