Commit 59cfaa1a authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Remove useless route definition

This route causes the node controller to fail with "No route matches"
error when requesting nodes for a cluster.
parent b4270d6b
Pipeline #171621 waiting for manual action with stages
in 21 minutes and 19 seconds
......@@ -22,7 +22,6 @@ Api::Application.routes.draw do
get '/versions/:id' => 'versions#show', :via => [:get]
get '*resource/versions' => 'versions#index', :via => [:get]
get '*resource/versions/:id' => 'versions#show', :via => [:get]
get '/sites/:site_id/clusters/:id/nodes' => 'nodes#index', :via => [:get]
resources :environments, only: %i[index show], constraints: { id: /[0-9A-Za-z\-\.]+/ }
resources :network_equipments, only: %i[index show]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment