Commit b70f5c41 authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Remove leftovers of environments routes

parent 59cfaa1a
Pipeline #171755 waiting for manual action with stages
in 21 minutes and 8 seconds
...@@ -23,14 +23,12 @@ Api::Application.routes.draw do ...@@ -23,14 +23,12 @@ Api::Application.routes.draw do
get '*resource/versions' => 'versions#index', :via => [:get] get '*resource/versions' => 'versions#index', :via => [:get]
get '*resource/versions/:id' => 'versions#show', :via => [:get] get '*resource/versions/:id' => 'versions#show', :via => [:get]
resources :environments, only: %i[index show], constraints: { id: /[0-9A-Za-z\-\.]+/ }
resources :network_equipments, only: %i[index show] resources :network_equipments, only: %i[index show]
resources :sites, only: %i[index show] do resources :sites, only: %i[index show] do
member do member do
get :status get :status
end end
resources :environments, only: %i[index show], constraints: { id: /[0-9A-Za-z\-\.]+/ }
resources :network_equipments, only: %i[index show] resources :network_equipments, only: %i[index show]
resources :pdus, only: %i[index show] resources :pdus, only: %i[index show]
resources :clusters, only: %i[index show] do resources :clusters, only: %i[index show] do
......
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