Sha256: fa7c887ab340bb05ad88430eb6451c96aadb5906c4285ba24fd758c374f0e9e5

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

module ActiveadminSelleoCms
  class Asset < ActiveRecord::Base
    attr_accessible :data

    belongs_to :assetable, polymorphic: true

    def url(format=nil)
      data.url(format)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.18 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.17 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.16 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.14 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.13 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.12 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.11 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.10 app/models/activeadmin_selleo_cms/asset.rb
activeadmin-selleo-cms-0.0.9 app/models/activeadmin_selleo_cms/asset.rb