Sha256: ad8a3c3dddd8bdbbf87c465258cf7931e952a5c7699f6d00ef5efeb8c182d2f6

Contents?: true

Size: 194 Bytes

Versions: 5

Compression:

Stored size: 194 Bytes

Contents

class Lalala::FileAsset < Lalala::AbstractAsset
  mount_uploader :asset, ::FileUploader

  def asset=(value)
    if Array === value
      value = value.first
    end

    super(value)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.160 app/models/lalala/file_asset.rb
lalala-4.0.0.dev.157 app/models/lalala/file_asset.rb
lalala-4.0.0.dev.156 app/models/lalala/file_asset.rb
lalala-4.0.0.dev.155 app/models/lalala/file_asset.rb
lalala-4.0.0.dev.154 app/models/lalala/file_asset.rb