Built motion from commit a134ab58.|2.6.29
[motion2.git] / server / api / network / index.js
index 150c70b..199e9f4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c97=['isAuthenticated','index','/:id','post','create','update','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./network.controller','get'];(function(_0x3bc477,_0x453b19){var _0x234479=function(_0x1e0c3b){while(--_0x1e0c3b){_0x3bc477['push'](_0x3bc477['shift']());}};_0x234479(++_0x453b19);}(_0x8c97,0x194));var _0x78c9=function(_0x2bda31,_0x34cf9f){_0x2bda31=_0x2bda31-0x0;var _0x1a6e19=_0x8c97[_0x2bda31];return _0x1a6e19;};'use strict';var multer=require(_0x78c9('0x0'));var util=require(_0x78c9('0x1'));var path=require(_0x78c9('0x2'));var timeout=require(_0x78c9('0x3'));var express=require('express');var router=express[_0x78c9('0x4')]();var fs_extra=require(_0x78c9('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x78c9('0x6'));var config=require(_0x78c9('0x7'));var controller=require(_0x78c9('0x8'));router[_0x78c9('0x9')]('/',auth[_0x78c9('0xa')](),controller[_0x78c9('0xb')]);router[_0x78c9('0x9')](_0x78c9('0xc'),auth[_0x78c9('0xa')](),controller['show']);router[_0x78c9('0xd')]('/',auth[_0x78c9('0xa')](),controller[_0x78c9('0xe')]);router['put'](_0x78c9('0xc'),auth[_0x78c9('0xa')](),controller[_0x78c9('0xf')]);router[_0x78c9('0x10')](_0x78c9('0xc'),auth[_0x78c9('0xa')](),controller[_0x78c9('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0xdc9e=['destroy','util','path','Router','fs-extra','../../components/auth/service','./network.controller','get','isAuthenticated','/:id','show','post','put'];(function(_0x507403,_0x3f954d){var _0x1327c=function(_0x2aea1b){while(--_0x2aea1b){_0x507403['push'](_0x507403['shift']());}};_0x1327c(++_0x3f954d);}(_0xdc9e,0x76));var _0xedc9=function(_0x1b8fdd,_0x11a782){_0x1b8fdd=_0x1b8fdd-0x0;var _0x129768=_0xdc9e[_0x1b8fdd];return _0x129768;};'use strict';var multer=require('multer');var util=require(_0xedc9('0x0'));var path=require(_0xedc9('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xedc9('0x2')]();var fs_extra=require(_0xedc9('0x3'));var auth=require(_0xedc9('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xedc9('0x5'));router[_0xedc9('0x6')]('/',auth[_0xedc9('0x7')](),controller['index']);router[_0xedc9('0x6')](_0xedc9('0x8'),auth[_0xedc9('0x7')](),controller[_0xedc9('0x9')]);router[_0xedc9('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0xedc9('0xb')](_0xedc9('0x8'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xedc9('0x8'),auth[_0xedc9('0x7')](),controller[_0xedc9('0xc')]);module['exports']=router;
\ No newline at end of file