thelia/thelia — pull request #658 by lunika (2014-08-28 15:17:48+00:00)
Title: Deprecated redirect

Redirect methods are deprecated. You have now two way for redirecting a user :
- Throwing a Thelia\Core\HttpKernel\Exception\RedirectException with a given URL (see Thelia\Controller\Front\BaseFrontController)
- If you are in a controller, returning an instance of \Symfony\Component\HttpFoundation\RedirectResponse (see Thelia\Controller\Admin\AbstractCrudController)
- Never ever send a response. Only the HttpKernel class is allow to do that.

### methods deprecated :

- Thelia\Controller\BaseController::redirect
- Thelia\Controller\BaseController::redirectSuccess
- Thelia\Controller\BaseController::redirectToRoute