remove useless routes

This commit is contained in:
kara Diaby 2021-03-22 10:03:37 +01:00
parent 71973de17c
commit fe7fb882c8

View file

@ -320,8 +320,6 @@ Rails.application.routes.draw do
#
scope module: 'instructeurs', as: 'instructeur' do
get 'avis', to: 'avis#index', as: 'all_avis'
# this redirections are ephemeral, to ensure that emails sent to experts before are still valid
# TODO : they will be removed in September, 2020
get 'avis/:id', to: redirect('/procedures/old/avis/%{id}')
@ -339,12 +337,8 @@ Rails.application.routes.draw do
resources :avis, only: [:show, :update] do
get '', action: 'procedure', on: :collection, as: :procedure
member do
get 'messagerie'
post 'commentaire' => 'avis#create_commentaire'
post 'avis' => 'avis#create_avis'
patch 'revoquer'
get 'revive'
get 'bilans_bdf'
end
end