summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-11-20 14:11:02 +0100
committerhukl <contact@smyck.org>2009-11-20 14:11:02 +0100
commit71f553361e8fff35133b359c4ad56c3b58f48a29 (patch)
treef55bb47203efddb5f23b9e61e3d47281aefd2003 /app/controllers
parent95dc33e81941a6051fe0f32e0e891709b22f3b76 (diff)
Its the final fix for the RSS Feed issues. Apparently people were subscribing the feed with weird locales set. Therfore the locale in the feed links and ids contained the weird locales - got chached and messed up everything for the rest of the world.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/rss_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/rss_controller.rb b/app/controllers/rss_controller.rb
index 8f8d5db..acffc0e 100644
--- a/app/controllers/rss_controller.rb
+++ b/app/controllers/rss_controller.rb
@@ -6,6 +6,8 @@ class RssController < ApplicationController
6 def updates 6 def updates
7 expires_in 31.minutes, :public => true 7 expires_in 31.minutes, :public => true
8 8
9 I18n.locale = :de
10
9 @items = Page.heads.find_tagged_with( 11 @items = Page.heads.find_tagged_with(
10 "update", 12 "update",
11 :order => "published_at DESC", 13 :order => "published_at DESC",