Sha256: c5eb1f703b030cfce1a1dc7892a74911c15010891a2765149fb287047524e0e7
Contents?: true
Size: 428 Bytes
Versions: 30
Compression:
Stored size: 428 Bytes
Contents
class Locomotive.Models.ContentAsset extends Backbone.Model paramRoot: 'content_asset' urlRoot: "#{Locomotive.mounted_on}/content_assets" initialize: -> @prepare() prepare: -> @set image: @get('content_type') == 'image' return @ class Locomotive.Models.ContentAssetsCollection extends Backbone.Collection model: Locomotive.Models.ContentAsset url: "#{Locomotive.mounted_on}/content_assets"
Version data entries
30 entries across 30 versions & 2 rubygems