Hello.

I need help with defining some unusual routes.

Here are my 2 tables Colors and Products:

mysql> select * from colors;
+----+------+
| id | name |
+----+------+
|  1 | blue |
+----+------+

mysql> select * from products;
+----+------+----------+
| id | name | color_id |
+----+------+----------+
|  1 | bowl |        1 |
+----+------+----------+


Normally Cake will produce links like this:
http://example.com/products/view/1

I'd like to have links like this:
http://example.com/items/blue/bowl/1

I don't even know where to begin to make it produce automatic links
like that. Any help would be greatly appreciated.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to