Cakephp 3 RSS error

0

I want to make an RSS generator, I followed the tutorial on link . But things are not working as they should, because according to the documentation, when I access the route of the item with the .rss extension, it should return the RSS, in my case it is the controller posts

/posts/index.rss

But when I try this, it tries to find a controller, and returns me the controller error not found

The action index.rss is not defined in PostsController

Note: I will declare Router::extensions('rss');      also contains ::initialize() with loadComponent('RequestHandler');

Do you know the error? Do you have any practical examples?

    
asked by anonymous 26.09.2015 / 22:36

0 answers