Hi, I have my routing setup and want to use the prefix (http:// book.cakephp.org/view/46/routes-configuration) for a couple of routes. But I also want to use other urls with the same controllers. So I did this in /config/routes.php
// account stuff (login, register, reset_password, etc) // http://www.pages.local/nl/accounts/logout Router::connect('/:lang/accounts/:action/*', array('controller' => 'accounts'),array('lang'=>'[a-zA-Z]{2}')); // when loggedin the urls to personal pages Router::connect('/my/:controller/:action/*', array('prefix'=>'my')); And then I use withing views: $html->link('My pages', array('admin'=>false,'prefix'=>'my','controller'=>'accounts','action'=>'my_edit', $item['id'])); Which results in: http://www.pages.local/accounts/my_edit/77123 which I want to be: http://www.pages.local/my/accounts/edit/77123 Anyone a suggestion to prevent the collision here? Thnx! primeminister --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
