mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
parent
cceb1d7e3a
commit
8e7c67a619
@ -272,6 +272,7 @@ class Blog_Controller extends Page_Controller {
|
||||
**/
|
||||
public function rss() {
|
||||
$rss = new RSSFeed($this->getBlogPosts(), $this->Link(), $this->MetaTitle, $this->MetaDescription);
|
||||
$this->extend('updateRss', $rss);
|
||||
return $rss->outputToBrowser();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user