diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 11:42:41 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 11:53:15 -0700 |
commit | 3cc35bed7a976911c2e80725185303c44a11a9b9 (patch) | |
tree | e9c6f7e2022ee66356f98c43b810f992b43c0f3b /actionpack/lib | |
parent | a20c5236bf9e355407946010e30b146ed5f9eb87 (diff) | |
download | rails-3cc35bed7a976911c2e80725185303c44a11a9b9.tar.gz rails-3cc35bed7a976911c2e80725185303c44a11a9b9.tar.bz2 rails-3cc35bed7a976911c2e80725185303c44a11a9b9.zip |
include ActionView::Rendering in the minimal controller
without this module, the content type is not set correctly
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index 51562ec0fb..f7be1e1fc5 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -177,7 +177,7 @@ module ActionController end def content_type - request.content_type + response.content_type end def location |