Skip to content

Commit f91cc37

Browse files
authored
Merge pull request #1125 from samrjenkins/fix-unused-render-content-documentation
[Fix #1116] Update Rails/UnusedRenderContent documentation to recommend use of `head` instead of `render`
2 parents 68a0d3d + 2792614 commit f91cc37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rubocop/cop/rails/unused_render_content.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ module Rails
1414
# render status: 100, plain: 'Ruby!'
1515
#
1616
# # good
17-
# render status: :continue
18-
# render status: 100
17+
# head :continue
18+
# head 100
1919
class UnusedRenderContent < Base
2020
include RangeHelp
2121

0 commit comments

Comments
 (0)