mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +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;
|
||||
|
@@ -211,7 +211,7 @@ class Users implements ControllerProviderInterface
|
||||
|
||||
$users->apply_template();
|
||||
|
||||
return new RedirectResponse('/admin/users/search/');
|
||||
return $app->redirect('/admin/users/search/');
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user