Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / template / index.js
index b90ba82..1dfa8f2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaa97=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','post','create','delete','exports','multer','path'];(function(_0x482c95,_0x504190){var _0x38c2e8=function(_0x5685df){while(--_0x5685df){_0x482c95['push'](_0x482c95['shift']());}};_0x38c2e8(++_0x504190);}(_0xaa97,0x85));var _0x7aa9=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xaa97[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0x7aa9('0x0'));var util=require('util');var path=require(_0x7aa9('0x1'));var timeout=require('connect-timeout');var express=require(_0x7aa9('0x2'));var router=express['Router']();var auth=require(_0x7aa9('0x3'));var interaction=require(_0x7aa9('0x4'));var config=require(_0x7aa9('0x5'));var controller=require(_0x7aa9('0x6'));router[_0x7aa9('0x7')]('/',auth[_0x7aa9('0x8')](),controller[_0x7aa9('0x9')]);router[_0x7aa9('0x7')](_0x7aa9('0xa'),auth[_0x7aa9('0x8')](),controller['show']);router[_0x7aa9('0xb')]('/',auth[_0x7aa9('0x8')](),controller[_0x7aa9('0xc')]);router['put'](_0x7aa9('0xa'),auth[_0x7aa9('0x8')](),controller['update']);router[_0x7aa9('0xd')]('/:id',auth[_0x7aa9('0x8')](),controller['destroy']);module[_0x7aa9('0xe')]=router;
\ No newline at end of file
+var _0x2ff5=['/:id','show','post','create','put','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x3ea5e1,_0x17c486){var _0x1b81d7=function(_0x5af999){while(--_0x5af999){_0x3ea5e1['push'](_0x3ea5e1['shift']());}};_0x1b81d7(++_0x17c486);}(_0x2ff5,0x1d5));var _0x52ff=function(_0x110859,_0x37de8f){_0x110859=_0x110859-0x0;var _0x55ebe0=_0x2ff5[_0x110859];return _0x55ebe0;};'use strict';var multer=require('multer');var util=require(_0x52ff('0x0'));var path=require(_0x52ff('0x1'));var timeout=require('connect-timeout');var express=require(_0x52ff('0x2'));var router=express[_0x52ff('0x3')]();var fs_extra=require(_0x52ff('0x4'));var auth=require(_0x52ff('0x5'));var interaction=require(_0x52ff('0x6'));var config=require(_0x52ff('0x7'));var controller=require('./template.controller');router[_0x52ff('0x8')]('/',auth[_0x52ff('0x9')](),controller[_0x52ff('0xa')]);router['get'](_0x52ff('0xb'),auth[_0x52ff('0x9')](),controller[_0x52ff('0xc')]);router[_0x52ff('0xd')]('/',auth[_0x52ff('0x9')](),controller[_0x52ff('0xe')]);router[_0x52ff('0xf')](_0x52ff('0xb'),auth[_0x52ff('0x9')](),controller[_0x52ff('0x10')]);router[_0x52ff('0x11')](_0x52ff('0xb'),auth[_0x52ff('0x9')](),controller[_0x52ff('0x12')]);module[_0x52ff('0x13')]=router;
\ No newline at end of file