I'm trying to create an alternative routing for my RSS feed. In my
Route config,  I have the following:

Router::connect('/presses/rss', array('controller' => 'presses',
                                     'action' => 'rss_feed',
                                     'url' => array('ext' => 'rss')
                                ) );

I have a  rss_feed action created in the Presses controller.

I could get to the feed without problem using the url :
         http://localhost/mysite/presses/rss_feed.rss

But when I tried using the alternative route I have an error:

     Error:  The view for PressesController::rss_feed() was not found.

Apparently it was looking for the view at ..\mysite\app\views\presses
\rss_feed.ctp instead of mysite\app\views\presses\rss\rss_feed.ctp

I'd appreciate very much if someone should help shed some light on
what I am not doing right. I have spent hours trying to figure this
thing out without success.

Thanks in advance.


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

Reply via email to