Merge pull request #34 from mschilder/patch-1

Added updateRss hook.
This commit is contained in:
Michael Strong 2014-10-03 10:51:02 +13:00
commit 8bb31e8327

View File

@ -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();
}