Update tutorial to include RSS feed API change.

This commit is contained in:
Will Rossiter 2012-09-27 18:46:48 +12:00
parent de8f06b711
commit a86b54b3ed

View File

@ -394,7 +394,7 @@ An RSS feed is something that no news section should be without. SilverStripe ma
:::php
public function rss() {
$rss = new RSSFeed($this->Children(), $this->Link(), "The coolest news around");
$rss->outputToBrowser();
return $rss->outputToBrowser();
}