Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / network / index.js
index 20d74f2..4583a37 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcd05=['Router','fs-extra','../../components/auth/service','../../config/environment','./network.controller','get','/:id','isAuthenticated','show','post','create','update','delete','destroy','exports','multer','express'];(function(_0xf0c919,_0x33ae35){var _0x31621f=function(_0x3bc380){while(--_0x3bc380){_0xf0c919['push'](_0xf0c919['shift']());}};_0x31621f(++_0x33ae35);}(_0xcd05,0x163));var _0x5cd0=function(_0x53b53e,_0x498437){_0x53b53e=_0x53b53e-0x0;var _0xbb6179=_0xcd05[_0x53b53e];return _0xbb6179;};'use strict';var multer=require(_0x5cd0('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5cd0('0x1'));var router=express[_0x5cd0('0x2')]();var fs_extra=require(_0x5cd0('0x3'));var auth=require(_0x5cd0('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x5cd0('0x5'));var controller=require(_0x5cd0('0x6'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x5cd0('0x7')](_0x5cd0('0x8'),auth[_0x5cd0('0x9')](),controller[_0x5cd0('0xa')]);router[_0x5cd0('0xb')]('/',auth[_0x5cd0('0x9')](),controller[_0x5cd0('0xc')]);router['put'](_0x5cd0('0x8'),auth[_0x5cd0('0x9')](),controller[_0x5cd0('0xd')]);router[_0x5cd0('0xe')]('/:id',auth[_0x5cd0('0x9')](),controller[_0x5cd0('0xf')]);module[_0x5cd0('0x10')]=router;
\ No newline at end of file
+var _0xc132=['path','Router','fs-extra','../../components/interaction/service','./network.controller','get','isAuthenticated','/:id','post','create','put','update','delete','exports','multer','util'];(function(_0xabbd2f,_0x44d05a){var _0x34a040=function(_0x3736d9){while(--_0x3736d9){_0xabbd2f['push'](_0xabbd2f['shift']());}};_0x34a040(++_0x44d05a);}(_0xc132,0x11e));var _0x2c13=function(_0x3bbd75,_0x2b62fc){_0x3bbd75=_0x3bbd75-0x0;var _0x2892a0=_0xc132[_0x3bbd75];return _0x2892a0;};'use strict';var multer=require(_0x2c13('0x0'));var util=require(_0x2c13('0x1'));var path=require(_0x2c13('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2c13('0x3')]();var fs_extra=require(_0x2c13('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2c13('0x5'));var config=require('../../config/environment');var controller=require(_0x2c13('0x6'));router[_0x2c13('0x7')]('/',auth[_0x2c13('0x8')](),controller['index']);router[_0x2c13('0x7')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x2c13('0xa')]('/',auth[_0x2c13('0x8')](),controller[_0x2c13('0xb')]);router[_0x2c13('0xc')](_0x2c13('0x9'),auth[_0x2c13('0x8')](),controller[_0x2c13('0xd')]);router[_0x2c13('0xe')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0x2c13('0xf')]=router;
\ No newline at end of file