aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorsealocal <local.mat@gmail.com>2016-01-20 23:41:07 -0800
committersealocal <local.mat@gmail.com>2016-01-20 23:41:07 -0800
commit27a4e9345f1367e6bab99c68528ee91e1628c45c (patch)
tree1c2b17fa98ea791d0d71461775cd6e5ae4b76382 /actionpack
parent36b359f816b5a247be15ef5f01cacdc173700814 (diff)
downloadrails-27a4e9345f1367e6bab99c68528ee91e1628c45c.tar.gz
rails-27a4e9345f1367e6bab99c68528ee91e1628c45c.tar.bz2
rails-27a4e9345f1367e6bab99c68528ee91e1628c45c.zip
remove doc reference to ActionController::MimeResponds#respond_to
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb
index a8f9c23b24..173a14a1d2 100644
--- a/actionpack/lib/action_controller/metal/mime_responds.rb
+++ b/actionpack/lib/action_controller/metal/mime_responds.rb
@@ -188,9 +188,6 @@ module ActionController #:nodoc:
# format.html.none
# format.html.phone # this gets rendered
# end
- #
- # Be sure to check the documentation of <tt>ActionController::MimeResponds.respond_to</tt>
- # for more examples.
def respond_to(*mimes)
raise ArgumentError, "respond_to takes either types or a block, never both" if mimes.any? && block_given?