From 71f553361e8fff35133b359c4ad56c3b58f48a29 Mon Sep 17 00:00:00 2001 From: hukl Date: Fri, 20 Nov 2009 14:11:02 +0100 Subject: 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. --- app/controllers/rss_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/rss_controller.rb') 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 def updates expires_in 31.minutes, :public => true + I18n.locale = :de + @items = Page.heads.find_tagged_with( "update", :order => "published_at DESC", -- cgit v1.3