Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update example in README for :user_for_paper_trail [ci skip]

  • Loading branch information...
commit c6e53a6df053469468acfc604c84a1e073cae98e 1 parent 2b9a49c
@batter batter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -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
```
Please sign in to comment.
Something went wrong with that request. Please try again.