Issue
I want to catch all urls in one action like:
* http://my-domain.com/controller/myaction/test
* http://my-domain.com/controller/myaction/test2
* http://my-domain.com/controller/myaction/other_url
can I get it on "myaction"?
Solution
Try this something like this
'<controller:[\w\-]+>/<action:[\w\-]+>/<ident:\d+>/<token:\w+>/<module:\w+>' => '<controller>/<action>' // 2
above will take/create urls like
localhost/frontend/web/site/test-router/10/ADB/P120
Answered By - Ketan Vekariya
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.