Merge pull request #7636 from tchak/chore-remove-old-routes

chore(routes): remove unused routes
This commit is contained in:
Paul Chavard 2022-08-02 15:01:39 +02:00 committed by GitHub
commit e0d697e2fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,6 @@ Rails.application.routes.draw do
namespace :champs do namespace :champs do
get ':champ_id/siret', to: 'siret#show', as: :siret get ':champ_id/siret', to: 'siret#show', as: :siret
get ':champ_id/dossier_link', to: 'dossier_link#show', as: :dossier_link get ':champ_id/dossier_link', to: 'dossier_link#show', as: :dossier_link
post ':champ_id/carte', to: 'carte#show', as: :carte
post ':champ_id/repetition', to: 'repetition#add', as: :repetition post ':champ_id/repetition', to: 'repetition#add', as: :repetition
delete ':champ_id/repetition', to: 'repetition#remove' delete ':champ_id/repetition', to: 'repetition#remove'
@ -480,9 +479,6 @@ Rails.application.routes.draw do
resources :experts, controller: 'experts_procedures', only: [:index, :create, :update, :destroy] resources :experts, controller: 'experts_procedures', only: [:index, :create, :update, :destroy]
resources :types_de_champ, only: [:create, :update, :destroy], param: :stable_id do resources :types_de_champ, only: [:create, :update, :destroy], param: :stable_id do
collection do
get :estimate_fill_duration
end
member do member do
patch :move patch :move
patch :move_up patch :move_up