mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update tutorial to include RSS feed API change.
This commit is contained in:
parent
de8f06b711
commit
a86b54b3ed
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user