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
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