icon_view: (half) ->\r
new Pettanr.Views[@my_class().singular()].Icon({item: this, half: half})\r
\r
+ @index_url: () ->\r
+ Pettanr.url(@table_name(), 'index', {id: null})\r
+ \r
index_url: () ->\r
- Pettanr.url(@table_name(), 'index', {id: @get('id')})\r
+ @my_class().index_url()\r
+ \r
+ list_url: (action_name = 'index') ->\r
+ Pettanr.url(@table_name(), action_name, {id: @get('id')})\r
\r
show_url: () ->\r
Pettanr.url(@table_name(), 'show', {id: @get('id')})\r