]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Fix the changeset feed to put the description in as raw HTML so we
[rails.git] / app / controllers / application_controller.rb
index 00104b0a174d618292cf0958c0d4c00c693e7c5a..0d6cdea6424fea77b93e32e047796546008a1637 100644 (file)
@@ -110,9 +110,8 @@ class ApplicationController < ActionController::Base
       end
     end
 
-    I18n.locale = request.preferred_language_from(I18n.available_locales) ||
-                  request.compatible_language_from(I18n.available_locales)
-    logger.info("Select #{I18n.locale} matching #{request.user_preferred_languages.join(',')} against #{I18n.available_locales.join(',')}")
+    I18n.locale = request.compatible_language_from(I18n.available_locales)
+
     response.headers['Content-Language'] = I18n.locale.to_s
   end