Skip to content

Commit

Permalink
Fix a very minor doc typo on the undiscard! method
Browse files Browse the repository at this point in the history
Discard -> Undiscard !
  • Loading branch information
mattbnz authored Jun 2, 2024
1 parent c52de70 commit 611e4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discard/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def undiscard
end
end

# Discard the record in the database
# Undiscard the record in the database
#
# There's a series of callbacks associated with #undiscard!. If the
# <tt>before_undiscard</tt> callback throws +:abort+ the action is cancelled
Expand Down

0 comments on commit 611e4e6

Please sign in to comment.