Skip to content

Commit

Permalink
Merge pull request #1382 from henrik/patch-1
Browse files Browse the repository at this point in the history
[docfix] README: Fix reference to other section
  • Loading branch information
aried3r committed May 18, 2022
2 parents cd6c30d + 703c6bb commit 67d80d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Once you have a version, you can find out what happened:

```ruby
v = widget.versions.last
v.event # 'update', 'create', 'destroy'. See also: Custom Event Names
v.event # 'update', 'create', 'destroy'. See also: "The versions.event Column"
v.created_at
v.whodunnit # ID of `current_user`. Requires `set_paper_trail_whodunnit` callback.
widget = v.reify # The widget as it was before the update (nil for a create event)
Expand Down

0 comments on commit 67d80d9

Please sign in to comment.