Sunday, October 18, 2009

Re: Custom Router Test fails [language and named params]

SOLVED!!

just have to add
Router::connectNamed(array('param1', 'param2'), array
('default'=>true));
to include the wanted named parameters (and the default ones for
paging)

or
Router::connectNamed(true, array('greedy'=>false));
to include all the named parameters

i'm still in love with cake :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate