class Pettanr.SystemPicturesController extends Pettanr.AppController index: () -> @trigger('retitle', @params) @filer_list() show_html: () -> @trigger('retitle', @params) @item.fetch({cache: true}).done => show = new Pettanr.Views.SystemPicture.Show({ item: @item, operators: @operators }) show.render() @trigger('ready', show) show: () -> @set_show() switch @params['format'] when 'prof' @show_prof() when 'html' @show_html() count: () -> create: () -> update: () -> destroy: () ->