Skip to content

Commit

Permalink
address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
samrjenkins committed Sep 6, 2023
1 parent e12b63a commit 25901bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ Rails/UnusedIgnoredColumns:
Rails/UnusedRenderContent:
Description: 'Do not specify body content for a response with a non-content status code.'
Enabled: pending
Severity: warning
VersionAdded: '<<next>>'

Rails/Validation:
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rails/unused_render_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Rails
# it will be dropped from the response.
#
# This cop checks for uses of `render` which specify both body content and a non-content status.

#
# @example
# # bad
# render 'foo', status: :continue
Expand Down

0 comments on commit 25901bc

Please sign in to comment.