Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / network / index.js
index 527d856..6cec7d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1a37=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','put','update','delete','destroy'];(function(_0x2e7087,_0x112eec){var _0xb5b3a6=function(_0x296310){while(--_0x296310){_0x2e7087['push'](_0x2e7087['shift']());}};_0xb5b3a6(++_0x112eec);}(_0x1a37,0xb4));var _0x71a3=function(_0x18ab2a,_0x4debcd){_0x18ab2a=_0x18ab2a-0x0;var _0x16dcee=_0x1a37[_0x18ab2a];return _0x16dcee;};'use strict';var multer=require(_0x71a3('0x0'));var util=require(_0x71a3('0x1'));var path=require(_0x71a3('0x2'));var timeout=require(_0x71a3('0x3'));var express=require(_0x71a3('0x4'));var router=express[_0x71a3('0x5')]();var fs_extra=require(_0x71a3('0x6'));var auth=require(_0x71a3('0x7'));var interaction=require(_0x71a3('0x8'));var config=require(_0x71a3('0x9'));var controller=require('./network.controller');router[_0x71a3('0xa')]('/',auth['isAuthenticated'](),controller[_0x71a3('0xb')]);router[_0x71a3('0xa')](_0x71a3('0xc'),auth[_0x71a3('0xd')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x71a3('0xe')](_0x71a3('0xc'),auth[_0x71a3('0xd')](),controller[_0x71a3('0xf')]);router[_0x71a3('0x10')](_0x71a3('0xc'),auth[_0x71a3('0xd')](),controller[_0x71a3('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0xa701=['update','delete','destroy','exports','util','path','Router','../../components/interaction/service','../../config/environment','./network.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0xb5abb7,_0x9b082a){var _0xf2f2a2=function(_0x1510cd){while(--_0x1510cd){_0xb5abb7['push'](_0xb5abb7['shift']());}};_0xf2f2a2(++_0x9b082a);}(_0xa701,0xd4));var _0x1a70=function(_0x1a9d5d,_0x508c47){_0x1a9d5d=_0x1a9d5d-0x0;var _0x37e2b8=_0xa701[_0x1a9d5d];return _0x37e2b8;};'use strict';var multer=require('multer');var util=require(_0x1a70('0x0'));var path=require(_0x1a70('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1a70('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1a70('0x3'));var config=require(_0x1a70('0x4'));var controller=require(_0x1a70('0x5'));router[_0x1a70('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1a70('0x6')](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0x9')]);router[_0x1a70('0xa')]('/',auth[_0x1a70('0x8')](),controller[_0x1a70('0xb')]);router['put'](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0xc')]);router[_0x1a70('0xd')]('/:id',auth[_0x1a70('0x8')](),controller[_0x1a70('0xe')]);module[_0x1a70('0xf')]=router;
\ No newline at end of file