Skip to content

Commit

Permalink
Fix options in README
Browse files Browse the repository at this point in the history
  • Loading branch information
miharekar authored and palkan committed Mar 5, 2024
1 parent ee31fdc commit cc0028a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ post.logidze_versions.find do
end

# we can also add options
post.logidze_versions(reverse: true) # from older to newer
post.logidze_versions(include_self: true) # returns self as the first one (default) or the last one record (if reverse: true)
post.logidze_versions(reverse: true) # from newer to older
post.logidze_versions(include_self: true) # returns self as the last record or the first one when `reverse` is set to true
```

There are also `#undo!` and `#redo!` options (and more general `#switch_to!`):
Expand Down

0 comments on commit cc0028a

Please sign in to comment.