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:
Tim Klein 2013-01-18 17:58:34 +13:00
parent 6bad5edb9f
commit 95eb0d2c38

View File

@ -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');
}
}