Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / template / index.js
index 20b95cc..9f3659c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0c2b=['Router','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','post','create','put','update','delete','exports','multer','util','connect-timeout','express'];(function(_0x2dd6d9,_0x62ae06){var _0x4d8f41=function(_0x29f460){while(--_0x29f460){_0x2dd6d9['push'](_0x2dd6d9['shift']());}};_0x4d8f41(++_0x62ae06);}(_0x0c2b,0x194));var _0xb0c2=function(_0x3da862,_0x731725){_0x3da862=_0x3da862-0x0;var _0x6dd924=_0x0c2b[_0x3da862];return _0x6dd924;};'use strict';var multer=require(_0xb0c2('0x0'));var util=require(_0xb0c2('0x1'));var path=require('path');var timeout=require(_0xb0c2('0x2'));var express=require(_0xb0c2('0x3'));var router=express[_0xb0c2('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xb0c2('0x5'));var config=require(_0xb0c2('0x6'));var controller=require(_0xb0c2('0x7'));router[_0xb0c2('0x8')]('/',auth[_0xb0c2('0x9')](),controller['index']);router[_0xb0c2('0x8')](_0xb0c2('0xa'),auth[_0xb0c2('0x9')](),controller['show']);router[_0xb0c2('0xb')]('/',auth[_0xb0c2('0x9')](),controller[_0xb0c2('0xc')]);router[_0xb0c2('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xb0c2('0xe')]);router[_0xb0c2('0xf')](_0xb0c2('0xa'),auth[_0xb0c2('0x9')](),controller['destroy']);module[_0xb0c2('0x10')]=router;
\ No newline at end of file
+var _0x3f48=['../../components/auth/service','../../components/interaction/service','./template.controller','isAuthenticated','index','get','/:id','show','post','put','destroy','exports','path','connect-timeout','express','Router'];(function(_0x1e31ae,_0x33e190){var _0x52a57c=function(_0x34dc0a){while(--_0x34dc0a){_0x1e31ae['push'](_0x1e31ae['shift']());}};_0x52a57c(++_0x33e190);}(_0x3f48,0x17c));var _0x83f4=function(_0x367fd9,_0x3cd02e){_0x367fd9=_0x367fd9-0x0;var _0x92b81=_0x3f48[_0x367fd9];return _0x92b81;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x83f4('0x0'));var timeout=require(_0x83f4('0x1'));var express=require(_0x83f4('0x2'));var router=express[_0x83f4('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x83f4('0x4'));var interaction=require(_0x83f4('0x5'));var config=require('../../config/environment');var controller=require(_0x83f4('0x6'));router['get']('/',auth[_0x83f4('0x7')](),controller[_0x83f4('0x8')]);router[_0x83f4('0x9')](_0x83f4('0xa'),auth[_0x83f4('0x7')](),controller[_0x83f4('0xb')]);router[_0x83f4('0xc')]('/',auth[_0x83f4('0x7')](),controller['create']);router[_0x83f4('0xd')](_0x83f4('0xa'),auth[_0x83f4('0x7')](),controller['update']);router['delete']('/:id',auth[_0x83f4('0x7')](),controller[_0x83f4('0xe')]);module[_0x83f4('0xf')]=router;
\ No newline at end of file