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

Index Method with Parameters and no index word

Is there a way to make the index controller work with a slash (Whilst passing parameters?) controller/index controller/

Will not work: controller/$productId Will work: controller/index/$productId

Must I use routes for this?



8.1k

You may create a route wtih each path which you need.