diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-22 16:09:41 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-22 16:09:41 -0600 |
commit | df7faef68e833efeef0dca3e07e0355f5042bb36 (patch) | |
tree | 9eb6894cbb35df87afc0d495c4998da95089a5c5 /actionpack/lib/action_dispatch/http | |
parent | a1bf2f96ce6f086de8519e344ee7e396ae3da9bb (diff) | |
download | rails-df7faef68e833efeef0dca3e07e0355f5042bb36.tar.gz rails-df7faef68e833efeef0dca3e07e0355f5042bb36.tar.bz2 rails-df7faef68e833efeef0dca3e07e0355f5042bb36.zip |
Referer and user agent are in Rack::Request
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rwxr-xr-x | actionpack/lib/action_dispatch/http/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index bc17cadb38..6e8a5dcb8a 100755 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -18,7 +18,7 @@ module ActionDispatch HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM - HTTP_NEGOTIATE HTTP_PRAGMA HTTP_REFERER HTTP_USER_AGENT ].each do |env| + HTTP_NEGOTIATE HTTP_PRAGMA ].each do |env| define_method(env.sub(/^HTTP_/n, '').downcase) do @env[env] end |