Module: DeletableInstanceMethods

Included in:
EventRevision
Defined in:
app/models/deletable_instance_methods.rb

Instance Method Summary collapse

Instance Method Details

#restoreObject



2
3
4
5
6
# File 'app/models/deletable_instance_methods.rb', line 2

def restore
  self.revisable_deleted_at = nil
  self.revisable_is_current = true
  save
end