module Trestle::ActiveStorage::Resource::Collection

Public Instance Methods

active_storage_fields() click to toggle source
# File lib/trestle/active_storage/resource.rb, line 11
def active_storage_fields
  if active_storage_attachable?
    adapter.active_storage_fields
  else
    []
  end
end