- @item = new Pettanr.FolderWatch({id: id})\r
- _this = this\r
- @item.fetch({}).done () ->\r
- if _this.item.is_remote()\r
- c = _this.item.get('controller_name')\r
- a = if Pettanr.is_blank(_this.item.get('action_name'))\r
- 'index'\r
+ if @params['format'] == 'prof'\r
+ @set_show()\r
+ @show_prof()\r
+ else\r
+ @item = new Pettanr.FolderWatch({id: id})\r
+ _this = this\r
+ @item.fetch({}).done () ->\r
+ if _this.item.is_remote()\r
+ c = _this.item.get('controller_name')\r
+ a = if Pettanr.is_blank(_this.item.get('action_name'))\r
+ 'index'\r
+ else\r
+ _this.item.get('action_name')\r
+ window.router['c_i'](c, a, '') # call action event in router for redirect\r