Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / template / index.js
index d151f77..f3c7914 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x390a=['../../components/interaction/service','../../config/environment','./template.controller','get','index','/:id','post','isAuthenticated','create','put','update','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service'];(function(_0x2fa98f,_0x31f6f8){var _0x622944=function(_0x303ca9){while(--_0x303ca9){_0x2fa98f['push'](_0x2fa98f['shift']());}};_0x622944(++_0x31f6f8);}(_0x390a,0x9d));var _0xa390=function(_0x136757,_0x1508ae){_0x136757=_0x136757-0x0;var _0x2cccfe=_0x390a[_0x136757];return _0x2cccfe;};'use strict';var multer=require(_0xa390('0x0'));var util=require('util');var path=require(_0xa390('0x1'));var timeout=require(_0xa390('0x2'));var express=require(_0xa390('0x3'));var router=express['Router']();var auth=require(_0xa390('0x4'));var interaction=require(_0xa390('0x5'));var config=require(_0xa390('0x6'));var controller=require(_0xa390('0x7'));router[_0xa390('0x8')]('/',auth['isAuthenticated'](),controller[_0xa390('0x9')]);router[_0xa390('0x8')](_0xa390('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xa390('0xb')]('/',auth[_0xa390('0xc')](),controller[_0xa390('0xd')]);router[_0xa390('0xe')](_0xa390('0xa'),auth[_0xa390('0xc')](),controller[_0xa390('0xf')]);router['delete'](_0xa390('0xa'),auth[_0xa390('0xc')](),controller[_0xa390('0x10')]);module[_0xa390('0x11')]=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