Skip to content

Commit

Permalink
Merge pull request #1125 from samrjenkins/fix-unused-render-content-d…
Browse files Browse the repository at this point in the history
…ocumentation

[Fix #1116] Update Rails/UnusedRenderContent documentation to recommend use of `head` instead of `render`
  • Loading branch information
koic authored Sep 19, 2023
2 parents 68a0d3d + 2792614 commit f91cc37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rails/unused_render_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module Rails
# render status: 100, plain: 'Ruby!'
#
# # good
# render status: :continue
# render status: 100
# head :continue
# head 100
class UnusedRenderContent < Base
include RangeHelp

Expand Down

0 comments on commit f91cc37

Please sign in to comment.