lib/action_controller/api.rb in actionpack-7.0.4.3 vs lib/action_controller/api.rb in actionpack-7.0.5
- old
+ new
@@ -38,10 +38,10 @@
#
# The default API Controller stack includes all renderers, which means you
# 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.
+ # all actions, otherwise it will return <tt>204 No Content</tt>.
#
# def show
# post = Post.find(params[:id])
# render json: post
# end