Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / template / index.js
index 12184e1..adb161e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x323f=['../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x21f2a6,_0x418f76){var _0x69238f=function(_0x144e7a){while(--_0x144e7a){_0x21f2a6['push'](_0x21f2a6['shift']());}};_0x69238f(++_0x418f76);}(_0x323f,0x1ee));var _0xf323=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x323f[_0x46aff0];return _0x9d78cf;};'use strict';var multer=require('multer');var util=require(_0xf323('0x0'));var path=require('path');var timeout=require(_0xf323('0x1'));var express=require(_0xf323('0x2'));var router=express[_0xf323('0x3')]();var fs_extra=require(_0xf323('0x4'));var auth=require(_0xf323('0x5'));var interaction=require(_0xf323('0x6'));var config=require(_0xf323('0x7'));var controller=require(_0xf323('0x8'));router[_0xf323('0x9')]('/',auth[_0xf323('0xa')](),controller['index']);router[_0xf323('0x9')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0xc')]);router[_0xf323('0xd')]('/',auth[_0xf323('0xa')](),controller[_0xf323('0xe')]);router[_0xf323('0xf')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0x10')]);router[_0xf323('0x11')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0x12')]);module[_0xf323('0x13')]=router;
\ No newline at end of file
+var _0x79bf=['update','delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','index','/:id','show','post','isAuthenticated','create'];(function(_0x1b3286,_0x497ede){var _0x275c36=function(_0x43bb24){while(--_0x43bb24){_0x1b3286['push'](_0x1b3286['shift']());}};_0x275c36(++_0x497ede);}(_0x79bf,0x1df));var _0xf79b=function(_0x1fc122,_0x5e2c17){_0x1fc122=_0x1fc122-0x0;var _0xa2cb13=_0x79bf[_0x1fc122];return _0xa2cb13;};'use strict';var multer=require('multer');var util=require(_0xf79b('0x0'));var path=require('path');var timeout=require(_0xf79b('0x1'));var express=require('express');var router=express[_0xf79b('0x2')]();var fs_extra=require(_0xf79b('0x3'));var auth=require(_0xf79b('0x4'));var interaction=require(_0xf79b('0x5'));var config=require(_0xf79b('0x6'));var controller=require(_0xf79b('0x7'));router[_0xf79b('0x8')]('/',auth['isAuthenticated'](),controller[_0xf79b('0x9')]);router[_0xf79b('0x8')](_0xf79b('0xa'),auth['isAuthenticated'](),controller[_0xf79b('0xb')]);router[_0xf79b('0xc')]('/',auth[_0xf79b('0xd')](),controller[_0xf79b('0xe')]);router['put']('/:id',auth[_0xf79b('0xd')](),controller[_0xf79b('0xf')]);router[_0xf79b('0x10')](_0xf79b('0xa'),auth[_0xf79b('0xd')](),controller[_0xf79b('0x11')]);module[_0xf79b('0x12')]=router;
\ No newline at end of file