Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / network / index.js
index e3dcd94..d8aeb9e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x91ca=['get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3bfdde,_0x306be4){var _0x3f752a=function(_0x3b6751){while(--_0x3b6751){_0x3bfdde['push'](_0x3bfdde['shift']());}};_0x3f752a(++_0x306be4);}(_0x91ca,0x90));var _0xa91c=function(_0x3d2781,_0x4c8c02){_0x3d2781=_0x3d2781-0x0;var _0x3d71a8=_0x91ca[_0x3d2781];return _0x3d71a8;};'use strict';var multer=require('multer');var util=require(_0xa91c('0x0'));var path=require(_0xa91c('0x1'));var timeout=require(_0xa91c('0x2'));var express=require(_0xa91c('0x3'));var router=express[_0xa91c('0x4')]();var auth=require(_0xa91c('0x5'));var interaction=require(_0xa91c('0x6'));var config=require(_0xa91c('0x7'));var controller=require('./network.controller');router[_0xa91c('0x8')]('/',auth[_0xa91c('0x9')](),controller[_0xa91c('0xa')]);router[_0xa91c('0x8')](_0xa91c('0xb'),auth[_0xa91c('0x9')](),controller[_0xa91c('0xc')]);router[_0xa91c('0xd')]('/',auth[_0xa91c('0x9')](),controller[_0xa91c('0xe')]);router[_0xa91c('0xf')](_0xa91c('0xb'),auth[_0xa91c('0x9')](),controller['update']);router[_0xa91c('0x10')]('/:id',auth[_0xa91c('0x9')](),controller[_0xa91c('0x11')]);module[_0xa91c('0x12')]=router;
\ No newline at end of file
+var _0x9300=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./network.controller','isAuthenticated','index','get','/:id','show','create','delete','destroy','exports','multer'];(function(_0x2e0979,_0x50df9e){var _0x20f403=function(_0x4a4f37){while(--_0x4a4f37){_0x2e0979['push'](_0x2e0979['shift']());}};_0x20f403(++_0x50df9e);}(_0x9300,0x153));var _0x0930=function(_0x1071d6,_0x293323){_0x1071d6=_0x1071d6-0x0;var _0x4c6be4=_0x9300[_0x1071d6];return _0x4c6be4;};'use strict';var multer=require(_0x0930('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0930('0x1'));var express=require(_0x0930('0x2'));var router=express[_0x0930('0x3')]();var fs_extra=require(_0x0930('0x4'));var auth=require(_0x0930('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x0930('0x6'));var controller=require(_0x0930('0x7'));router['get']('/',auth[_0x0930('0x8')](),controller[_0x0930('0x9')]);router[_0x0930('0xa')](_0x0930('0xb'),auth[_0x0930('0x8')](),controller[_0x0930('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0930('0xd')]);router['put'](_0x0930('0xb'),auth[_0x0930('0x8')](),controller['update']);router[_0x0930('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x0930('0xf')]);module[_0x0930('0x10')]=router;
\ No newline at end of file