mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Added status in API documentation for ActionController::Renderer#render
This commit is contained in:
parent
26826eb354
commit
9c751a1b05
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ module ActionController
|
|||
# * <tt>:json</tt> - Renders the provided hash or object in JSON. You don't
|
||||
# need to call <tt>.to_json</tt> on the object you want to render.
|
||||
# * <tt>:body</tt> - Renders provided text and sets content type of <tt>text/plain</tt>.
|
||||
# * <tt>:status</tt> - Specifies the HTTP status code to send with the response. Defaults to 200.
|
||||
#
|
||||
# If no <tt>options</tt> hash is passed or if <tt>:update</tt> is specified, then:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue