add route

This commit is contained in:
kara Diaby 2021-04-29 09:32:25 +02:00
parent c869ea3d3c
commit b3caa2e5f4

View file

@ -147,6 +147,7 @@ Rails.application.routes.draw do
end
resources :attachments, only: [:show, :destroy]
resources :recherche, only: [:index]
get "patron" => "root#patron"
get "suivi" => "root#suivi"
@ -294,7 +295,6 @@ Rails.application.routes.draw do
#
scope module: 'experts', as: 'expert' 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}')
@ -387,7 +387,6 @@ Rails.application.routes.draw do
resources :archives, only: [:index, :create, :show], controller: 'archives'
end
end
get "recherche" => "recherche#index"
end
#