class Pettanr.LicenseGroupsController extends Pettanr.AppController index: () -> @trigger('retitle', @params) @filer_list() show_html: () -> @item.fetch({cache: true}).done => @trigger('retitle', @params, @item.get('caption')) show = new Pettanr.Views.LicenseGroup.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: () -> new: () -> @trigger('retitle', @params) @form_new() edit: () -> @trigger('retitle', @params) @form_edit() create: () -> update: () -> destroy: () ->