Permalink
Browse files

Update example in README for :user_for_paper_trail [ci skip]

  • Loading branch information...
1 parent 2b9a49c commit c6e53a6df053469468acfc604c84a1e073cae98e @batter batter committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -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
```

0 comments on commit c6e53a6

Please sign in to comment.