Sha256: f4eab554aa76ab0e4e4ff163ca51bdbe1658c20dc94363c78779f0e2ddecbad8

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

module Rao
  module Component
    module CollectionTable::ActiveStorageConcern
      extend ActiveSupport::Concern

      def attachment(name, options = {}, &block)
        options.reverse_merge!(render_as: :attachment)
        column(name, options, &block)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rao-component-0.0.52.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.51.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.50.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.49.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.48.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.47.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.46.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.45.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.44.pre app/concerns/rao/component/collection_table/active_storage_concern.rb
rao-component-0.0.43.pre app/concerns/rao/component/collection_table/active_storage_concern.rb