[Fix #1266] Fix an incorrect legacy route redirection

This commit is contained in:
gregoirenovel 2018-01-16 16:08:20 +01:00
parent 23e0655a80
commit a6b60faf9b

View file

@ -264,5 +264,5 @@ Rails.application.routes.draw do
# Legacy routes
get 'backoffice' => redirect('/procedures')
get 'backoffice/sign_in' => redirect('/users/sign_in')
get 'backoffice/dossiers/procedure/:id' => redirect('/procedures/:id')
get 'backoffice/dossiers/procedure/:procedure_id' => redirect('/procedures/%{procedure_id}')
end