Hi mikee,
thanks for your reply.
On 17 Feb., 03:24, "Mikee Freedom" <[EMAIL PROTECTED]> wrote:
> Couldn't you change your index action of your Categories controller to
> accept a slug instead of an id?
sure i could. my thoughts were that i want to have jokes as the
primary output so the joke controller should handle it. That's my
route for that:
$Route->connect('/kategorie/*', array('controller' => 'jokes',
'action' => 'list_by_cat'));
('kategorie') is just the german word for category ;)
I will try the reverse way you suggested with my route and see if i
come to a solution. Do you see any problems using the jokes controller
and the route above?
Thanks for your help - very appreciated.
Frank
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---