Permalink
Browse files

respond_with description: changed 'response' to 'format'

  • Loading branch information...
MarkMT committed Mar 18, 2012
1 parent 9e98d2d commit d25d3fba3e94d3f7708f1ef7ac7fd32a0d9e0f5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/mime_responds.rb
@@ -215,7 +215,7 @@ def respond_to(*mimes, &block)
# the mime-type can be selected by explicitly setting <tt>request.format</tt> in
# the controller.
#
- # If an acceptable response is not found, the application returns a
+ # If an acceptable format is not identified, the application returns a
# '406 - not acceptable' status. Otherwise, the default response is to render
# a template named after the current action and the selected format,
# e.g. <tt>index.html.erb</tt>. If no template is available, the behavior

0 comments on commit d25d3fb

Please sign in to comment.