Sha256: 83f43d6d4fe8a86ec7921553c20c6116d20e95574db05a5cb21fdacc32dfe1e1

Contents?: true

Size: 280 Bytes

Versions: 10

Compression:

Stored size: 280 Bytes

Contents

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

      def attachment(name, options = {}, &block)
        options.reverse_merge!(render_as: :attachment)
        row(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/resource_table/active_storage_concern.rb
rao-component-0.0.51.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.50.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.49.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.48.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.47.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.46.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.45.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.44.pre app/concerns/rao/component/resource_table/active_storage_concern.rb
rao-component-0.0.43.pre app/concerns/rao/component/resource_table/active_storage_concern.rb