Method: Lockbox::ActiveStorageExtensions::Attachment#preview
- Defined in:
- lib/lockbox/active_storage_extensions.rb
#preview(*args) ⇒ Object
122 123 124 125 |
# File 'lib/lockbox/active_storage_extensions.rb', line 122 def preview(*args) raise Lockbox::Error, "Preview not supported for encrypted files" if Utils.(record, name) super end |