From a86b54b3ede4e06c7dec8695a08408779aa9bde5 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 27 Sep 2012 18:46:48 +1200 Subject: [PATCH] Update tutorial to include RSS feed API change. --- docs/en/tutorials/2-extending-a-basic-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/tutorials/2-extending-a-basic-site.md b/docs/en/tutorials/2-extending-a-basic-site.md index fd3d4f1ac..03ecbda85 100644 --- a/docs/en/tutorials/2-extending-a-basic-site.md +++ b/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(); }