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
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to