mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
respond_with description: changed 'response' to 'format'
This commit is contained in:
parent
9e98d2dae1
commit
d25d3fba3e
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ module ActionController #:nodoc:
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue