From: Tom Hughes Date: Tue, 14 Feb 2012 15:47:21 +0000 (+0000) Subject: Revert "Log locale selection" X-Git-Tag: live~5821 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8afc736536ddb088b6b7f0bc5e0cfae06522248d?hp=590eb85ee19f7ef5304ca7a43a9a0f20c7c2ed3d Revert "Log locale selection" This reverts commit 101ee6ade2a24e8c468badb82d56c17b04e0df37. --- diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6e9be2de4..a90a295fb 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -250,8 +250,6 @@ class ApplicationController < ActionController::Base I18n.locale = request.compatible_language_from(I18n.available_locales) || I18n.default_locale - logger.info "Selected locale #{I18n.locale} from #{request.user_preferred_languages.inspect}" - response.headers['Content-Language'] = I18n.locale.to_s end