Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / api / template / index.js
index a26c9f3..5b3f8d1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x27c8=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','index','get','/:id','isAuthenticated','show','post','put','delete','destroy','exports','util','path'];(function(_0x42f85f,_0x58e64e){var _0x4d1417=function(_0x2d98c5){while(--_0x2d98c5){_0x42f85f['push'](_0x42f85f['shift']());}};_0x4d1417(++_0x58e64e);}(_0x27c8,0x6a));var _0x827c=function(_0x60d53e,_0x25f227){_0x60d53e=_0x60d53e-0x0;var _0x36a6cd=_0x27c8[_0x60d53e];return _0x36a6cd;};'use strict';var multer=require('multer');var util=require(_0x827c('0x0'));var path=require(_0x827c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x827c('0x2')]();var fs_extra=require(_0x827c('0x3'));var auth=require(_0x827c('0x4'));var interaction=require(_0x827c('0x5'));var config=require(_0x827c('0x6'));var controller=require(_0x827c('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x827c('0x8')]);router[_0x827c('0x9')](_0x827c('0xa'),auth[_0x827c('0xb')](),controller[_0x827c('0xc')]);router[_0x827c('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x827c('0xe')](_0x827c('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x827c('0xf')](_0x827c('0xa'),auth['isAuthenticated'](),controller[_0x827c('0x10')]);module[_0x827c('0x11')]=router;
\ No newline at end of file
+var _0x2faf=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','express'];(function(_0x9a3d47,_0x1953a0){var _0xf60b78=function(_0x31575d){while(--_0x31575d){_0x9a3d47['push'](_0x9a3d47['shift']());}};_0xf60b78(++_0x1953a0);}(_0x2faf,0xb0));var _0xf2fa=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x2faf[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0xf2fa('0x0'));var util=require(_0xf2fa('0x1'));var path=require(_0xf2fa('0x2'));var timeout=require('connect-timeout');var express=require(_0xf2fa('0x3'));var router=express[_0xf2fa('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf2fa('0x5'));var interaction=require(_0xf2fa('0x6'));var config=require(_0xf2fa('0x7'));var controller=require(_0xf2fa('0x8'));router[_0xf2fa('0x9')]('/',auth[_0xf2fa('0xa')](),controller[_0xf2fa('0xb')]);router['get'](_0xf2fa('0xc'),auth[_0xf2fa('0xa')](),controller[_0xf2fa('0xd')]);router[_0xf2fa('0xe')]('/',auth['isAuthenticated'](),controller[_0xf2fa('0xf')]);router['put'](_0xf2fa('0xc'),auth['isAuthenticated'](),controller[_0xf2fa('0x10')]);router[_0xf2fa('0x11')](_0xf2fa('0xc'),auth[_0xf2fa('0xa')](),controller[_0xf2fa('0x12')]);module[_0xf2fa('0x13')]=router;
\ No newline at end of file