Commit a27582e6500454e16e63aa74e702256fff45a083
1 parent
bebfc543
Exists in
master
and in
28 other branches
ActionItem830: logging the Accept-Language header
Hoping to be able to debug the translation problems with it.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/application.rb
... | ... | @@ -8,6 +8,7 @@ class ApplicationController < ActionController::Base |
8 | 8 | if logger && logger.info? |
9 | 9 | logger.info(" HTTP Referer: #{request.referer}") |
10 | 10 | logger.info(" User Agent: #{request.user_agent}") |
11 | + logger.info(" Accept-Language: #{request.headers['HTTP_ACCEPT_LANGUAGE']}") | |
11 | 12 | end |
12 | 13 | end |
13 | 14 | ... | ... |