Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / template / index.js
index 8d0521e..f3c7914 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x123d=['Router','../../config/environment','get','isAuthenticated','create','/:id','delete','destroy','exports','multer','util','path','express'];(function(_0x9334cd,_0x2401e4){var _0x2f583d=function(_0x2214af){while(--_0x2214af){_0x9334cd['push'](_0x9334cd['shift']());}};_0x2f583d(++_0x2401e4);}(_0x123d,0x127));var _0xd123=function(_0x4c7f0e,_0x5c15a3){_0x4c7f0e=_0x4c7f0e-0x0;var _0x2cbd87=_0x123d[_0x4c7f0e];return _0x2cbd87;};'use strict';var multer=require(_0xd123('0x0'));var util=require(_0xd123('0x1'));var path=require(_0xd123('0x2'));var timeout=require('connect-timeout');var express=require(_0xd123('0x3'));var router=express[_0xd123('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd123('0x5'));var controller=require('./template.controller');router[_0xd123('0x6')]('/',auth[_0xd123('0x7')](),controller['index']);router['get']('/:id',auth[_0xd123('0x7')](),controller['show']);router['post']('/',auth[_0xd123('0x7')](),controller[_0xd123('0x8')]);router['put'](_0xd123('0x9'),auth[_0xd123('0x7')](),controller['update']);router[_0xd123('0xa')](_0xd123('0x9'),auth[_0xd123('0x7')](),controller[_0xd123('0xb')]);module[_0xd123('0xc')]=router;
\ No newline at end of file
+var _0x2fc9=['put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2fc9,0xc2));var _0x92fc=function(_0x178f52,_0x5d9675){_0x178f52=_0x178f52-0x0;var _0x556f99=_0x2fc9[_0x178f52];return _0x556f99;};'use strict';var multer=require('multer');var util=require(_0x92fc('0x0'));var path=require(_0x92fc('0x1'));var timeout=require(_0x92fc('0x2'));var express=require(_0x92fc('0x3'));var router=express[_0x92fc('0x4')]();var fs_extra=require(_0x92fc('0x5'));var auth=require(_0x92fc('0x6'));var interaction=require(_0x92fc('0x7'));var config=require(_0x92fc('0x8'));var controller=require(_0x92fc('0x9'));router[_0x92fc('0xa')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x92fc('0xb'),auth[_0x92fc('0xc')](),controller[_0x92fc('0xd')]);router[_0x92fc('0xe')]('/',auth[_0x92fc('0xc')](),controller[_0x92fc('0xf')]);router[_0x92fc('0x10')]('/:id',auth[_0x92fc('0xc')](),controller[_0x92fc('0x11')]);router[_0x92fc('0x12')]('/:id',auth[_0x92fc('0xc')](),controller[_0x92fc('0x13')]);module[_0x92fc('0x14')]=router;
\ No newline at end of file