projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590eb85
)
Revert "Log locale selection"
author
Tom Hughes
<tom@compton.nu>
Tue, 14 Feb 2012 15:47:21 +0000
(15:47 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 14 Feb 2012 15:47:21 +0000
(15:47 +0000)
This reverts commit
101ee6ade2a24e8c468badb82d56c17b04e0df37
.
app/controllers/application_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/application_controller.rb
b/app/controllers/application_controller.rb
index 6e9be2de4a314d5ea4bd1638fbba83cb11a25463..a90a295fb35349c397784599a437ce5941ab45cf 100644
(file)
--- 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