summaryrefslogtreecommitdiff
path: root/modules/rss/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-25 13:02:14 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-25 13:02:14 -0800
commitdc67cf64813361b34c366123f37d88ef6988fcc8 (patch)
treed4f50f537fd5138b72d919e75747b9ead497b671 /modules/rss/helpers
parent15cf6870d5a4fc4dae3c5b61b1cb16ccdc226821 (diff)
Remove the REST_Controller and assorted baggage. Completes ticket #917
Diffstat (limited to 'modules/rss/helpers')
-rw-r--r--modules/rss/helpers/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rss/helpers/rss.php b/modules/rss/helpers/rss.php
index 81ff175f..4260206c 100644
--- a/modules/rss/helpers/rss.php
+++ b/modules/rss/helpers/rss.php
@@ -31,6 +31,6 @@ class rss_Core {
*/
static function feed_link($uri) {
$url = url::site("rss/feed/$uri");
- return "<link rel=\"alternate\" type=\"" . rest::RSS . "\" href=\"$url\" />";
+ return "<link rel=\"alternate\" type=\"application/rss+xml\" href=\"$url\" />";
}
} \ No newline at end of file