aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorakihiro17 <coolwizard11@gmail.com>2015-08-27 14:05:47 +0900
committerakihiro17 <coolwizard11@gmail.com>2015-08-29 01:02:43 +0900
commit2de60a926b541d837d7a927bb2efc8135679ac40 (patch)
treecb3217fc334341f094f207662a9d93d38be27270 /README.md
parentcbe7899f9d5fece4749f75828fd120d67056f356 (diff)
downloadrails-2de60a926b541d837d7a927bb2efc8135679ac40.tar.gz
rails-2de60a926b541d837d7a927bb2efc8135679ac40.tar.bz2
rails-2de60a926b541d837d7a927bb2efc8135679ac40.zip
Set the content-type to `text/html` if the options[:html] is true
In this commit, we set the content-type to `text/html` in AbstractController if the `options[:html]` is true so that we don't include ActionView::Rendering into ActionController::Metal to set it properly. I removed the if `options[:plain]` statement because `AbstractController#rendered_format` returns `Mime::TEXT` by default.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions