Merge pull request #1265 from betagouv/fix-redirect-route

Fix an incorrect legacy route
This commit is contained in:
gregoirenovel 2018-01-16 16:34:07 +01:00 committed by GitHub
commit f829ee3926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -264,5 +264,5 @@ Rails.application.routes.draw do
# Legacy routes # Legacy routes
get 'backoffice' => redirect('/procedures') get 'backoffice' => redirect('/procedures')
get 'backoffice/sign_in' => redirect('/users/sign_in') 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 end