diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-01-11 06:39:56 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-01-11 06:39:56 +0000 |
commit | 104f31af1dc412160b624da1b09c5456fa862f53 (patch) | |
tree | 8cb890a5a68b0c6e677571dcf7dfa3821a933877 /actionpack/lib/action_controller.rb | |
parent | e6de95889dd361359bcd885c9f38087f14f57628 (diff) | |
download | rails-104f31af1dc412160b624da1b09c5456fa862f53.tar.gz rails-104f31af1dc412160b624da1b09c5456fa862f53.tar.bz2 rails-104f31af1dc412160b624da1b09c5456fa862f53.zip |
Provide a nicer way to access headers. request.headers["Content-Type"] instead of request.headers["HTTP_CONTENT_TYPE"] [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller.rb')
-rwxr-xr-x | actionpack/lib/action_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb index e7a9eba560..9586426ca1 100755 --- a/actionpack/lib/action_controller.rb +++ b/actionpack/lib/action_controller.rb @@ -55,6 +55,7 @@ require 'action_controller/http_authentication' require 'action_controller/components' require 'action_controller/record_identifier' require 'action_controller/request_forgery_protection' +require 'action_controller/headers' require 'action_view' ActionController::Base.template_class = ActionView::Base |