diff --git a/config/routes.rb b/config/routes.rb index 75f669a41..30dcd5f6c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -301,6 +301,8 @@ Rails.application.routes.draw do scope module: 'instructeurs', as: 'instructeur' do get 'avis', to: 'avis#all', as: 'all_avis' + get 'avis/:id', to: redirect('/procedures/old/avis/%{id}') + get 'avis/:id/sign_up/email/:email', to: redirect("/procedures/old/avis/%{id}/sign_up/email/%{email}"), constraints: { email: /.*/ } resources :procedures, only: [:index, :show], param: :procedure_id do member do resources :groupes, only: [:index, :show], controller: 'groupe_instructeurs' do