I am using the following route
   Router::connect('/:language/:controller/:action/*',
        array (),
        array ();

as the only rule in the routes.php and still
   $url = Router::url(array
('controller'=>'example','action'=>'index','language'=>'en','show_all'=>'true'));
yields
   '/example/index/language:en/show_all:true'
instead of
   '/en/example/index/show_all:true'

Note that
   $url = Router::url(array
('controller'=>'example','action'=>'index','language'=>'en'));
works correctly (gives '/en/example/index/').

So my problem only exists with named parameters. What can I do?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to