1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Documentation for ActionController::API use neutral language [ci skip]

This commit is contained in:
Ben Sheldon 2021-06-22 10:19:56 -07:00
parent d6a1cff4e4
commit cc79283518

View file

@ -37,7 +37,7 @@ module ActionController
# == Renders
#
# The default API Controller stack includes all renderers, which means you
# can use <tt>render :json</tt> and brothers freely in your controllers. Keep
# can use <tt>render :json</tt> and siblings freely in your controllers. Keep
# in mind that templates are not going to be rendered, so you need to ensure
# your controller is calling either <tt>render</tt> or <tt>redirect_to</tt> in
# all actions, otherwise it will return 204 No Content.