Reputation: 923
For my CakePHP Blog I created an RSS Feed as described in the Docs .
Now I can't find or access the feed and I think it might have sth to do with my custom route. I access my Post Index with this route:
Router::connect('/:city/blog', array(
'controller' => 'posts',
'action' => 'index'
),
array(
'city' => '[a-z]+'
)
);
How would I write a Route for this Feed Url?: domain.com/washington/blog/index.rss
(By the way: I followed the docs in detail, so I did add: Router::parseExtensions('rss');
to routes.php)
Thanks in advance!
Upvotes: 1
Views: 856
Reputation: 691
In routes.php Where did you placed the Router::parseExtensions('rss'); code ?? I did it at the beginning and worked for me.
Let me know more about it
Upvotes: 2