I would like to set custom routes in the INVO app https://docs.phalcon.io/en/latest/reference/tutorial-invo.html , but I am not sure how to do that
I would like to be able to hit the controller ContactController
and method indexAction
by typing https://localhost/contact-us
instead of https://localhost/contact
So, I think I have to create routes.php file in the config folder and somehow load the routes in the index.php bootstrap file in my public folder.
But I have no idea how it should look like.
My worry is that I would like to use both contact
and contact-us
variants to be working and hitting ContactController. Will the security plugin in INVO handle this thing properly or it is not possible and I can use only one of them?