Skip to content

Commit

Permalink
Merge pull request #77 from koic/remove_obsolete_doc_for_rails_action…
Browse files Browse the repository at this point in the history
…_filter

Remove outdated doc for `Rails/ActionFilter`
  • Loading branch information
koic authored Jun 22, 2019
2 parents dff04bd + de680ad commit c328836
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/rubocop/cop/rails/action_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ module Rails
# The cop is configurable and can enforce the use of the older
# something_filter methods or the newer something_action methods.
#
# If the TargetRailsVersion is set to less than 4.0, the cop will enforce
# the use of filter methods.
#
# @example EnforcedStyle: action (default)
# # bad
# after_filter :do_stuff
Expand Down
3 changes: 0 additions & 3 deletions manual/cops_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ This cop enforces the consistent use of action filter methods.
The cop is configurable and can enforce the use of the older
something_filter methods or the newer something_action methods.

If the TargetRailsVersion is set to less than 4.0, the cop will enforce
the use of filter methods.

### Examples

#### EnforcedStyle: action (default)
Expand Down

0 comments on commit c328836

Please sign in to comment.