class Pettanr.StorySheet extends Peta.Leaf url: '/story_sheets/' @singular: () -> 'StorySheet' @plural: () -> 'StorySheets' defaults: { id: null, story_id: null, sheet_id: null, t: null } initialize: () -> if @id @url = @url + @id class Pettanr.StorySheet.Collection extends Backbone.Collection model: Pettanr.StorySheet url: '/story_sheets'