Permalink
Browse files

Update tutorial to include RSS feed API change.

  • Loading branch information...
1 parent de8f06b commit a86b54b3ede4e06c7dec8695a08408779aa9bde5 @wilr wilr committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/tutorials/2-extending-a-basic-site.md
@@ -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();
}

0 comments on commit a86b54b

Please sign in to comment.