mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Remove inline redirection
This commit is contained in:
@@ -119,7 +119,7 @@ class Subdefs implements ControllerProviderInterface
|
||||
}
|
||||
}
|
||||
|
||||
return new RedirectResponse('/admin/subdefs/' . $databox->get_sbas_id() . '/');
|
||||
return $app->redirect('/admin/subdefs/' . $databox->get_sbas_id() . '/');
|
||||
})->assert('sbas_id', '\d+');
|
||||
|
||||
return $controllers;
|
||||
|
Reference in New Issue
Block a user