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/test | |
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/test')
-rw-r--r-- | actionpack/test/controller/new_base/render_html_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/new_base/render_html_test.rb b/actionpack/test/controller/new_base/render_html_test.rb index e9ea57e329..49c1b67d04 100644 --- a/actionpack/test/controller/new_base/render_html_test.rb +++ b/actionpack/test/controller/new_base/render_html_test.rb @@ -4,6 +4,7 @@ module RenderHtml class MinimalController < ActionController::Metal include AbstractController::Rendering include ActionController::Rendering + include ActionView::Rendering def index render html: "Hello World!" |