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?



7.3k

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