Hello,
Using the 1.2 RSS helper. I was wondering if there's any way to make
it so i can access the feeds by /controller/action/rss/ instead of /
controller/action.rss
got this to work using:
if ($this->params['pass'][0] == "rss") {
$this->RequestHandler->respondAs('rss');
$this->viewPath .= '/rss';
$this->layoutPath = 'rss';
}
but I'm wondering if there's a more easy/elegant way to do this (maybe
routes?).
been through the manual/bakery/google group/google but didn't have
much luck.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---