mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix typo with setTemplate() rss docs.
This commit is contained in:
parent
9106e41498
commit
4cb81dafdf
@ -156,7 +156,7 @@ unique template (write your own XML in themes/yourtheme/templates/Students.ss)
|
||||
$link = $this->Link("students"),
|
||||
$title = "Students feed"
|
||||
);
|
||||
$rss->setTemplate('Students.ss');
|
||||
$rss->setTemplate('Students');
|
||||
return $rss->outputToBrowser();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user