Update warning_about_not_setting_whodunnit.md

This commit is contained in:
Clément Prod'homme 2018-07-09 10:50:30 +02:00 committed by GitHub
parent f06c5748e7
commit 1c88d8cafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ See the PaperTrail readme for an example (https://git.io/vrsbt).
If you no longer want to track whodunnit, you may disable this
warning by overriding user_for_paper_trail to return nil.
```
```ruby
# in application_controller.rb
def user_for_paper_trail
nil # disable whodunnit tracking