engine/app/assets/javascripts/locomotive/models/theme_asset.js.coffee
2011-12-07 02:09:13 +01:00

12 lines
296 B
CoffeeScript

class Locomotive.Models.ThemeAsset extends Backbone.Model
paramRoot: 'theme_asset'
urlRoot: "#{Locomotive.mount_on}/theme_assets"
class Locomotive.Models.ThemeAssetsCollection extends Backbone.Collection
model: Locomotive.Models.ThemeAsset
url: "#{Locomotive.mount_on}/theme_assets"