class Pettanr.Comic extends Peta.Binder\r
+ url: '/comics/'\r
+ \r
@singular: () ->\r
'Comic'\r
\r
author_id: null\r
} \r
\r
+ author: () ->\r
+ new Pettanr.Author({id: @get('author_id')})\r
+ \r
is_visible: (operators) ->\r
switch super(operators)\r
when null\r
if @id\r
@url = @url + @id\r
\r
-class Pettanr.Comic.Collection extends Backbone.Collection\r
- model: Pettanr.Comic\r
- url: '/comics'\r