OSDN Git Service

fix profiler
[pettanr/pettanr.git] / app / assets / javascripts / controllers / pictures.js.coffee
1 class Pettanr.PicturesController extends Pettanr.AppController\r
2   \r
3   index: () ->\r
4     @filer_list()\r
5   \r
6   by_artist: () ->\r
7     @filer_list()\r
8   \r
9   show_html: () -> \r
10   \r
11   show: () ->\r
12     @set_show()\r
13     switch @params['format']\r
14       when 'prof'\r
15         @show_prof()\r
16       when 'html'\r
17         @show_html()\r
18   \r