Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / template / index.js
index 9ce1ca4..3c7d44b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf2ca=['/:id','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','put','update','delete'];(function(_0x2c9103,_0x2adf48){var _0x514234=function(_0x11672b){while(--_0x11672b){_0x2c9103['push'](_0x2c9103['shift']());}};_0x514234(++_0x2adf48);}(_0xf2ca,0x16a));var _0xaf2c=function(_0x5e3bb1,_0x3cfe7c){_0x5e3bb1=_0x5e3bb1-0x0;var _0x4c1278=_0xf2ca[_0x5e3bb1];return _0x4c1278;};'use strict';var multer=require(_0xaf2c('0x0'));var util=require(_0xaf2c('0x1'));var path=require(_0xaf2c('0x2'));var timeout=require('connect-timeout');var express=require(_0xaf2c('0x3'));var router=express[_0xaf2c('0x4')]();var fs_extra=require(_0xaf2c('0x5'));var auth=require(_0xaf2c('0x6'));var interaction=require(_0xaf2c('0x7'));var config=require(_0xaf2c('0x8'));var controller=require('./template.controller');router[_0xaf2c('0x9')]('/',auth[_0xaf2c('0xa')](),controller[_0xaf2c('0xb')]);router[_0xaf2c('0x9')]('/:id',auth[_0xaf2c('0xa')](),controller[_0xaf2c('0xc')]);router['post']('/',auth[_0xaf2c('0xa')](),controller['create']);router[_0xaf2c('0xd')]('/:id',auth[_0xaf2c('0xa')](),controller[_0xaf2c('0xe')]);router[_0xaf2c('0xf')](_0xaf2c('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0xaf2c('0x11')]=router;
\ No newline at end of file
+var _0xb138=['./template.controller','isAuthenticated','index','/:id','show','create','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x2a0c7f,_0x559044){var _0x1e727a=function(_0xc7d76){while(--_0xc7d76){_0x2a0c7f['push'](_0x2a0c7f['shift']());}};_0x1e727a(++_0x559044);}(_0xb138,0x1dd));var _0x8b13=function(_0x4ca740,_0x11b0a1){_0x4ca740=_0x4ca740-0x0;var _0x406ef9=_0xb138[_0x4ca740];return _0x406ef9;};'use strict';var multer=require(_0x8b13('0x0'));var util=require(_0x8b13('0x1'));var path=require(_0x8b13('0x2'));var timeout=require(_0x8b13('0x3'));var express=require(_0x8b13('0x4'));var router=express[_0x8b13('0x5')]();var fs_extra=require(_0x8b13('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x8b13('0x7'));var config=require(_0x8b13('0x8'));var controller=require(_0x8b13('0x9'));router['get']('/',auth[_0x8b13('0xa')](),controller[_0x8b13('0xb')]);router['get'](_0x8b13('0xc'),auth[_0x8b13('0xa')](),controller[_0x8b13('0xd')]);router['post']('/',auth[_0x8b13('0xa')](),controller[_0x8b13('0xe')]);router['put']('/:id',auth[_0x8b13('0xa')](),controller[_0x8b13('0xf')]);router[_0x8b13('0x10')](_0x8b13('0xc'),auth[_0x8b13('0xa')](),controller['destroy']);module[_0x8b13('0x11')]=router;
\ No newline at end of file