aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-05-21 09:25:28 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-09 23:58:24 -0300
commit57e1c99a280bdc1b324936a690350320a1cd8111 (patch)
tree64c0260bea1246f35a11c2125f6eaff3717d26a0 /actionpack/lib
parent333bfd896e87862cece95deb1ef88132d5f54ba8 (diff)
downloadrails-57e1c99a280bdc1b324936a690350320a1cd8111.tar.gz
rails-57e1c99a280bdc1b324936a690350320a1cd8111.tar.bz2
rails-57e1c99a280bdc1b324936a690350320a1cd8111.zip
Remove deprecated support to :nothing in render
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/metal/rendering.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/metal/rendering.rb b/actionpack/lib/action_controller/metal/rendering.rb
index f8f91ed41c..e068f60b1e 100644
--- a/actionpack/lib/action_controller/metal/rendering.rb
+++ b/actionpack/lib/action_controller/metal/rendering.rb
@@ -98,11 +98,6 @@ module ActionController
options[:html] = ERB::Util.html_escape(options[:html])
end
- if options.delete(:nothing)
- ActiveSupport::Deprecation.warn("`:nothing` option is deprecated and will be removed in Rails 5.1. Use `head` method to respond with empty response body.")
- options[:body] = nil
- end
-
if options[:status]
options[:status] = Rack::Utils.status_code(options[:status])
end