Module: Dragonfly::Model::Attachment::DisableDatastoreDestroy

Included in:
Dragonfly::Model::Attachment
Defined in:
lib/workarea/ext/freedom_patches/dragonfly_attachment.rb

Instance Method Summary collapse

Instance Method Details

#destroy_contentObject



5
6
7
8
# File 'lib/workarea/ext/freedom_patches/dragonfly_attachment.rb', line 5

def destroy_content(*)
  # We don't want to destroy original content, in case assets need to
  # retrieved or the admin restores from the trash.
end