Skip to content

Commit

Permalink
Merge pull request #220 from marco-nicola/fix-typo-in-respond_with-do…
Browse files Browse the repository at this point in the history
…cumentation

Fix typo in 'respond_with' documentation
  • Loading branch information
mracos committed Oct 16, 2019
2 parents f7f381f + c51c249 commit 35dd3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_controller/respond_with.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def clear_respond_to
# 2. <tt>:action</tt> - overwrites the default render action used after an
# unsuccessful html +post+ request.
# 3. <tt>:render</tt> - allows to pass any options directly to the <tt>:render<tt/>
# call after unsuccessful html +post+ request. Usefull if for example you
# call after unsuccessful html +post+ request. Useful if for example you
# need to render a template which is outside of controller's path or you
# want to override the default http <tt>:status</tt> code, e.g.
#
Expand Down

0 comments on commit 35dd3d9

Please sign in to comment.