.. and the action showing messages belonging to a theme is not the default index of listing action, right?
Then I guess you should add an extra line to your routes.php
(before the existing lines of course)
$Map->connect('/message/:theme', array(
'controller' => 'message',
'action' => 'by_theme')
);
I'm not sure, but it might need a COMPULSORY parameter, like:
$Map->connect('/message/:theme', array(
'controller' => 'message',
'action' => 'by_theme',
'theme' => COMPULSORY
));
I Found solution here
1 to 4 of 4