module Mongoid::Slug::Paranoia

Lightweight compatibility shim which adds the :restore callback to older versions of Mongoid::Paranoia

Public Instance Methods

restore_with_callbacks() click to toggle source
# File lib/mongoid/slug/paranoia.rb, line 13
def restore_with_callbacks
  run_callbacks(:restore) do
    restore_without_callbacks
  end
end