Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / template / index.js
index eafdb6a..912a264 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xffd7=['../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x55cf52,_0x2cf5c8){var _0x3a56de=function(_0x8ee79d){while(--_0x8ee79d){_0x55cf52['push'](_0x55cf52['shift']());}};_0x3a56de(++_0x2cf5c8);}(_0xffd7,0x73));var _0x7ffd=function(_0x536340,_0x19a348){_0x536340=_0x536340-0x0;var _0x28ef32=_0xffd7[_0x536340];return _0x28ef32;};'use strict';var multer=require(_0x7ffd('0x0'));var util=require(_0x7ffd('0x1'));var path=require(_0x7ffd('0x2'));var timeout=require(_0x7ffd('0x3'));var express=require(_0x7ffd('0x4'));var router=express['Router']();var auth=require(_0x7ffd('0x5'));var interaction=require(_0x7ffd('0x6'));var config=require(_0x7ffd('0x7'));var controller=require(_0x7ffd('0x8'));router[_0x7ffd('0x9')]('/',auth[_0x7ffd('0xa')](),controller['index']);router['get'](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0xc')]);router[_0x7ffd('0xd')]('/',auth[_0x7ffd('0xa')](),controller[_0x7ffd('0xe')]);router[_0x7ffd('0xf')](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0x10')]);router[_0x7ffd('0x11')](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0x12')]);module[_0x7ffd('0x13')]=router;
\ No newline at end of file
+var _0xb96d=['create','put','update','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','./template.controller','get','isAuthenticated','index','/:id','post'];(function(_0x1be404,_0x2eeda5){var _0x479636=function(_0x5bda47){while(--_0x5bda47){_0x1be404['push'](_0x1be404['shift']());}};_0x479636(++_0x2eeda5);}(_0xb96d,0x9e));var _0xdb96=function(_0x1f44e4,_0x22d9fd){_0x1f44e4=_0x1f44e4-0x0;var _0x591989=_0xb96d[_0x1f44e4];return _0x591989;};'use strict';var multer=require('multer');var util=require(_0xdb96('0x0'));var path=require(_0xdb96('0x1'));var timeout=require(_0xdb96('0x2'));var express=require('express');var router=express[_0xdb96('0x3')]();var fs_extra=require(_0xdb96('0x4'));var auth=require(_0xdb96('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdb96('0x6'));router[_0xdb96('0x7')]('/',auth[_0xdb96('0x8')](),controller[_0xdb96('0x9')]);router['get'](_0xdb96('0xa'),auth[_0xdb96('0x8')](),controller['show']);router[_0xdb96('0xb')]('/',auth['isAuthenticated'](),controller[_0xdb96('0xc')]);router[_0xdb96('0xd')]('/:id',auth[_0xdb96('0x8')](),controller[_0xdb96('0xe')]);router['delete'](_0xdb96('0xa'),auth[_0xdb96('0x8')](),controller[_0xdb96('0xf')]);module[_0xdb96('0x10')]=router;
\ No newline at end of file