Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / template / index.js
index 0376276..569b29f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1b0e=['multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','post','create','put','update','delete','exports'];(function(_0x21443b,_0x55482c){var _0x2fa79f=function(_0x36263e){while(--_0x36263e){_0x21443b['push'](_0x21443b['shift']());}};_0x2fa79f(++_0x55482c);}(_0x1b0e,0x132));var _0xe1b0=function(_0x3078de,_0x5e1ecf){_0x3078de=_0x3078de-0x0;var _0x290305=_0x1b0e[_0x3078de];return _0x290305;};'use strict';var multer=require(_0xe1b0('0x0'));var util=require(_0xe1b0('0x1'));var path=require(_0xe1b0('0x2'));var timeout=require(_0xe1b0('0x3'));var express=require(_0xe1b0('0x4'));var router=express[_0xe1b0('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xe1b0('0x6'));var config=require(_0xe1b0('0x7'));var controller=require('./template.controller');router[_0xe1b0('0x8')]('/',auth[_0xe1b0('0x9')](),controller[_0xe1b0('0xa')]);router['get'](_0xe1b0('0xb'),auth[_0xe1b0('0x9')](),controller['show']);router[_0xe1b0('0xc')]('/',auth[_0xe1b0('0x9')](),controller[_0xe1b0('0xd')]);router[_0xe1b0('0xe')](_0xe1b0('0xb'),auth[_0xe1b0('0x9')](),controller[_0xe1b0('0xf')]);router[_0xe1b0('0x10')](_0xe1b0('0xb'),auth[_0xe1b0('0x9')](),controller['destroy']);module[_0xe1b0('0x11')]=router;
\ No newline at end of file
+var _0x3e0c=['isAuthenticated','show','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./template.controller','/:id'];(function(_0x57b432,_0x1589a0){var _0x2edf2a=function(_0x20edfc){while(--_0x20edfc){_0x57b432['push'](_0x57b432['shift']());}};_0x2edf2a(++_0x1589a0);}(_0x3e0c,0x16d));var _0xc3e0=function(_0x3eef0d,_0x38a38b){_0x3eef0d=_0x3eef0d-0x0;var _0x2c78fc=_0x3e0c[_0x3eef0d];return _0x2c78fc;};'use strict';var multer=require(_0xc3e0('0x0'));var util=require(_0xc3e0('0x1'));var path=require(_0xc3e0('0x2'));var timeout=require('connect-timeout');var express=require(_0xc3e0('0x3'));var router=express[_0xc3e0('0x4')]();var fs_extra=require(_0xc3e0('0x5'));var auth=require(_0xc3e0('0x6'));var interaction=require(_0xc3e0('0x7'));var config=require('../../config/environment');var controller=require(_0xc3e0('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xc3e0('0x9'),auth[_0xc3e0('0xa')](),controller[_0xc3e0('0xb')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xc3e0('0x9'),auth[_0xc3e0('0xa')](),controller[_0xc3e0('0xc')]);router[_0xc3e0('0xd')](_0xc3e0('0x9'),auth[_0xc3e0('0xa')](),controller[_0xc3e0('0xe')]);module['exports']=router;
\ No newline at end of file