From fe7fb882c84f4c079b105d947a2c9126badf4c4f Mon Sep 17 00:00:00 2001 From: kara Diaby Date: Mon, 22 Mar 2021 10:03:37 +0100 Subject: [PATCH] remove useless routes --- config/routes.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 049667606..2490cc07a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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