Remove inline redirection

This commit is contained in:
Romain Neutron
2012-07-24 19:13:21 +02:00
parent 5f25c7b190
commit a9bdeefcde
5 changed files with 88 additions and 76 deletions

View File

@@ -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;