class Pettanr.PicturesController extends Pettanr.AppController index: () -> @filer_list() by_artist: () -> @filer_list() show_html: () -> view = new Pettanr.Views.Picture.Show({ el: "#pettanr", item: @item, operators: @operators }) view.render() show: () -> @set_show() switch @params['format'] when 'prof' @show_prof() when 'html' @show_html()