Skip to content

Commit

Permalink
Added status in API documentation for ActionController::Renderer#render
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeram-venkitesh committed Sep 16, 2022
1 parent 26826eb commit 9c751a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/action_controller/renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def initialize(controller, env, defaults)
# * <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:
#
Expand Down

0 comments on commit 9c751a1

Please sign in to comment.