Re: Auto genereated links do not include route prefixes

2010-10-22 Thread odd
Solved it. I've change the route like this: Router::connect('/mobile/:controller/:action/*', array('theme' = 'mobile')); and the link generation like this: $html-link('Title', array('plugin' = null, 'controller' = 'news', 'action' = 'view', 'theme' = $this-params['theme'], $id)); Check out

Auto genereated links do not include route prefixes

2010-10-21 Thread odd
Hello, i have a small routing and linking problem, and i can't find a solution for it. The problematic route looks like this: Router::connect('/mobile/:controller/:action/*', array('mobile' = true)); Works fine so far, the problem are the links, they aren't compiled as i would expect it, the