From 9674d2c70f59892911d1aa9db20d72c3c0837102 Mon Sep 17 00:00:00 2001 From: Shigeya Suzuki Date: Thu, 19 Jul 2012 09:57:34 +0900 Subject: Clarification to doc of ActionController::MimeResponse.respond_to - #respond_to's documentation refer to .respond_to, but it was written as just . Added class name for clarification. --- actionpack/lib/action_controller/metal/mime_responds.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb index 0b800c3c62..431ee69e4c 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -182,7 +182,8 @@ module ActionController #:nodoc: # end # end # - # Be sure to check respond_with and respond_to documentation for more examples. + # Be sure to check respond_with and + # ActionController::MimeResponds.respond_to documentation for more examples. def respond_to(*mimes, &block) raise ArgumentError, "respond_to takes either types or a block, never both" if mimes.any? && block_given? -- cgit v1.2.3