Update example in README for :user_for_paper_trail [ci skip]

This commit is contained in:
Ben Atkins 2014-02-12 16:27:17 -05:00
parent 2b9a49c119
commit c6e53a6df0
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ You may want PaperTrail to call a different method to find out who is responsibl
```ruby
class ApplicationController
def user_for_paper_trail
logged_in? ? current_member : 'Public user' # or whatever
logged_in? ? current_member.id : 'Public user' # or whatever
end
end
```