class Pettanr.StorySheet extends Peta.Leaf\r
+ url: '/story_sheets/'\r
+ \r
@singular: () ->\r
'StorySheet'\r
\r
t: null\r
} \r
\r
+ story: () ->\r
+ new Pettanr.Story({id: @get('story_id')})\r
+ \r
+ sheet: () ->\r
+ new Pettanr.Sheet({id: @get('sheet_id')})\r
+ \r
initialize: () ->\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.StorySheet.Collection extends Backbone.Collection\r
- model: Pettanr.StorySheet\r
- url: '/story_sheets'\r