class Pettanr.ArtistsController extends Pettanr.AppController\r
\r
index: () ->\r
- list_result = new Pettanr.Artist.Collection({})\r
- new Pettanr.FilerRender('artist', list_result, 'default', window.operators)\r
+ @filer_list()\r
\r
- show_html_format: (format) -> \r
+ show_html: () -> \r
\r
show: () ->\r
+ @set_show()\r
+ switch @params['format']\r
+ when 'prof'\r
+ @show_prof()\r
+ when 'html'\r
+ @show_html()\r
\r
count: () ->\r
\r
new: () ->\r
+ @form_new()\r
\r
edit: () ->\r
+ @form_edit()\r
\r
create: () ->\r
\r