Module: Backend::AttachmentsHelper

Defined in:
app/helpers/backend/attachments_helper.rb

Instance Method Summary collapse

Instance Method Details

#attachments_of(resource) ⇒ Object


21
22
23
# File 'app/helpers/backend/attachments_helper.rb', line 21

def attachments_of(resource)
  render '/backend/attachments/thumbs', attachments: resource.attachments
end