engine/app/assets/javascripts/locomotive/models/snippet.js.coffee

11 lines
278 B
CoffeeScript
Raw Normal View History

2011-12-05 10:31:34 +00:00
class Locomotive.Models.Snippet extends Backbone.Model
paramRoot: 'snippet'
urlRoot: "#{Locomotive.mounted_on}/snippets"
2011-12-05 10:31:34 +00:00
class Locomotive.Models.SnippetsCollection extends Backbone.Collection
model: Locomotive.Models.Snippet
url: "#{Locomotive.mounted_on}/snippets"