NYCPHP Meetup

NYPHP.org

[nycphp-talk] cake url question

Marcin Szkudlarek marcin.szkudlarek at gmail.com
Wed Nov 1 06:27:21 EST 2006


I would like to map multiple url to one controller method like this:

example.com/bmw
example.com/toyota
example.com/nissan
..
should invoke method (for example "view") in my controller with parameter
"bmw", "toyota" etc.
Probably I should configure it in routes.php but I don't have idea how.

Regards,

Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061101/8d8b5938/attachment.html>


More information about the talk mailing list