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