class Pettanr.ScrollsController extends Pettanr.AppController\r
\r
index: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
by_author: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
by_panel: () ->\r
+ @redraw_title(@params)\r
@filer_list()\r
\r
show_html: () -> \r
+ _this = this\r
+ @item.fetch({cache: true}).done ->\r
+ _this.redraw_title(_this.params, _this.item.get('title'))\r
+ view = new Pettanr.Views.Scroll.Show({\r
+ el: "#pettanr",\r
+ item: _this.item,\r
+ operators: _this.operators\r
+ })\r
+ view.render()\r
\r
show: () ->\r
@set_show()\r
when 'html'\r
@show_html()\r
\r
+ play: () ->\r
+ @set_play()\r
+ @play_list()\r
+ \r
count: () ->\r
\r
new: () ->\r
+ @redraw_title(@params)\r
@form_new()\r
\r
edit: () ->\r
+ @redraw_title(@params)\r
@form_edit()\r
\r
create: () ->\r