Sha256: f3fab7c052ba7e78185c8532f7992fcaa5c82b8d253e528eaaa47c8e626d5931

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

class Lalala::ImageAsset < Lalala::AbstractAsset
  mount_uploader :asset, ::ImageUploader

  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/image_asset.rb
lalala-4.0.0.dev.157 app/models/lalala/image_asset.rb
lalala-4.0.0.dev.156 app/models/lalala/image_asset.rb
lalala-4.0.0.dev.155 app/models/lalala/image_asset.rb
lalala-4.0.0.dev.154 app/models/lalala/image_asset.rb