Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / template / index.js
index c2a1f6c..67fb85e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd92f=['path','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','exports','multer'];(function(_0x4ccd7d,_0x4d6fe4){var _0x54011a=function(_0x1d400a){while(--_0x1d400a){_0x4ccd7d['push'](_0x4ccd7d['shift']());}};_0x54011a(++_0x4d6fe4);}(_0xd92f,0x10f));var _0xfd92=function(_0x114e73,_0x1ccb13){_0x114e73=_0x114e73-0x0;var _0x673e28=_0xd92f[_0x114e73];return _0x673e28;};'use strict';var multer=require(_0xfd92('0x0'));var util=require('util');var path=require(_0xfd92('0x1'));var timeout=require('connect-timeout');var express=require(_0xfd92('0x2'));var router=express[_0xfd92('0x3')]();var auth=require(_0xfd92('0x4'));var interaction=require(_0xfd92('0x5'));var config=require('../../config/environment');var controller=require('./template.controller');router[_0xfd92('0x6')]('/',auth[_0xfd92('0x7')](),controller[_0xfd92('0x8')]);router[_0xfd92('0x6')]('/:id',auth[_0xfd92('0x7')](),controller[_0xfd92('0x9')]);router[_0xfd92('0xa')]('/',auth[_0xfd92('0x7')](),controller[_0xfd92('0xb')]);router[_0xfd92('0xc')](_0xfd92('0xd'),auth[_0xfd92('0x7')](),controller[_0xfd92('0xe')]);router[_0xfd92('0xf')]('/:id',auth[_0xfd92('0x7')](),controller['destroy']);module[_0xfd92('0x10')]=router;
\ No newline at end of file
+var _0x0f97=['get','/:id','isAuthenticated','create','put','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','index'];(function(_0x2d9095,_0x418890){var _0x2baa8e=function(_0x398e7c){while(--_0x398e7c){_0x2d9095['push'](_0x2d9095['shift']());}};_0x2baa8e(++_0x418890);}(_0x0f97,0x196));var _0x70f9=function(_0x3c43f6,_0x429058){_0x3c43f6=_0x3c43f6-0x0;var _0x5677a4=_0x0f97[_0x3c43f6];return _0x5677a4;};'use strict';var multer=require(_0x70f9('0x0'));var util=require(_0x70f9('0x1'));var path=require(_0x70f9('0x2'));var timeout=require(_0x70f9('0x3'));var express=require(_0x70f9('0x4'));var router=express[_0x70f9('0x5')]();var fs_extra=require(_0x70f9('0x6'));var auth=require(_0x70f9('0x7'));var interaction=require(_0x70f9('0x8'));var config=require(_0x70f9('0x9'));var controller=require(_0x70f9('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0x70f9('0xb')]);router[_0x70f9('0xc')](_0x70f9('0xd'),auth[_0x70f9('0xe')](),controller['show']);router['post']('/',auth[_0x70f9('0xe')](),controller[_0x70f9('0xf')]);router[_0x70f9('0x10')](_0x70f9('0xd'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x70f9('0xe')](),controller[_0x70f9('0x11')]);module[_0x70f9('0x12')]=router;
\ No newline at end of file