mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Fixed RSS Link, using 'rss' as $action param
Fixed RSS Link, using 'rss' as $action param for Link() method on BlogHolder. This fixes the rss url when removing trailing slashes from page urls
This commit is contained in:
parent
6bad5edb9f
commit
95eb0d2c38
@ -24,7 +24,7 @@ class SubscribeRSSWidget extends Widget {
|
||||
function getRSSLink() {
|
||||
Requirements::themedCSS('subscribersswidget');
|
||||
$container = BlogTree::current();
|
||||
if ($container) return $container->Link() . 'rss';
|
||||
if ($container) return $container->Link('rss');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user