We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

forward in Micro app

Can I use a $dispatcher->forward in mirco application?



98.9k
Accepted
answer

No, a Micro application lacks of an internal dispatcher, you can use a HTTP redirection if you want to redirect a user to another action in your application:

https://docs.phalcon.io/en/latest/reference/micro.html#making-redirections