This post is marked as solved. If you think the information contained on this thread must be part of the
official documentation, please contribute submitting a
pull request to its repository.
How I can use route name instead of location in redirect() function?
$this->response->redirect(array('for' => "route-name"));
$this->response->redirect(array('for' => "route-name", 'id' => $someId));
$location parameter in Phalcon stubs defined as ┬ string $location┬╗. I'm confused.
@SliceOfLife fixed https://github.com/xboston/phalcon-core/commit/89c5a24a930e545d6d2c9e66256f79c5e1e1a3ff
Will soon be in the documentation.
Good job @boston!