routes: redirect /users/dossiers
to /dossiers
This commit is contained in:
parent
e41e1c6690
commit
0aa2c1d9f6
1 changed files with 5 additions and 1 deletions
|
@ -125,7 +125,11 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
get 'text_summary' => 'dossiers#text_summary'
|
get 'text_summary' => 'dossiers#text_summary'
|
||||||
end
|
end
|
||||||
resource :dossiers
|
|
||||||
|
resource 'dossiers'
|
||||||
|
|
||||||
|
# Redirection of legacy "/users/dossiers" route to "/dossiers"
|
||||||
|
get 'dossiers', to: redirect('/dossiers')
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :gestionnaire do
|
namespace :gestionnaire do
|
||||||
|
|
Loading…
Reference in a new issue