Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / template / index.js
index 5b3f8d1..67fb85e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2faf=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','express'];(function(_0x9a3d47,_0x1953a0){var _0xf60b78=function(_0x31575d){while(--_0x31575d){_0x9a3d47['push'](_0x9a3d47['shift']());}};_0xf60b78(++_0x1953a0);}(_0x2faf,0xb0));var _0xf2fa=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x2faf[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0xf2fa('0x0'));var util=require(_0xf2fa('0x1'));var path=require(_0xf2fa('0x2'));var timeout=require('connect-timeout');var express=require(_0xf2fa('0x3'));var router=express[_0xf2fa('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf2fa('0x5'));var interaction=require(_0xf2fa('0x6'));var config=require(_0xf2fa('0x7'));var controller=require(_0xf2fa('0x8'));router[_0xf2fa('0x9')]('/',auth[_0xf2fa('0xa')](),controller[_0xf2fa('0xb')]);router['get'](_0xf2fa('0xc'),auth[_0xf2fa('0xa')](),controller[_0xf2fa('0xd')]);router[_0xf2fa('0xe')]('/',auth['isAuthenticated'](),controller[_0xf2fa('0xf')]);router['put'](_0xf2fa('0xc'),auth['isAuthenticated'](),controller[_0xf2fa('0x10')]);router[_0xf2fa('0x11')](_0xf2fa('0xc'),auth[_0xf2fa('0xa')](),controller[_0xf2fa('0x12')]);module[_0xf2fa('0x13')]=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