X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fnetwork%2Findex.js;h=0f8cdcdcc036f0f2748c55b81f905693783ee398;hb=ff1c11e14fca8d30ba993bf9ad292fb70d9b0b0b;hp=e068e80d693c6bb73270290dee46667e6458d92d;hpb=bc74370e54ee193dccc81d92e42005d458c8ae66;p=motion2.git diff --git a/server/api/network/index.js b/server/api/network/index.js index e068e80..0f8cdcd 100644 --- a/server/api/network/index.js +++ b/server/api/network/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x521f=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./network.controller','get','isAuthenticated','index','/:id','show','create','update','delete','destroy','exports','multer','util'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x521f,0xe8));var _0xf521=function(_0x3dc068,_0x408431){_0x3dc068=_0x3dc068-0x0;var _0x4d4786=_0x521f[_0x3dc068];return _0x4d4786;};'use strict';var multer=require(_0xf521('0x0'));var util=require(_0xf521('0x1'));var path=require('path');var timeout=require(_0xf521('0x2'));var express=require(_0xf521('0x3'));var router=express[_0xf521('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xf521('0x5'));var config=require(_0xf521('0x6'));var controller=require(_0xf521('0x7'));router[_0xf521('0x8')]('/',auth[_0xf521('0x9')](),controller[_0xf521('0xa')]);router[_0xf521('0x8')](_0xf521('0xb'),auth['isAuthenticated'](),controller[_0xf521('0xc')]);router['post']('/',auth[_0xf521('0x9')](),controller[_0xf521('0xd')]);router['put'](_0xf521('0xb'),auth[_0xf521('0x9')](),controller[_0xf521('0xe')]);router[_0xf521('0xf')]('/:id',auth[_0xf521('0x9')](),controller[_0xf521('0x10')]);module[_0xf521('0x11')]=router; \ No newline at end of file +var _0x4cb5=['util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./network.controller','get','index','isAuthenticated','post','create','put','/:id','exports','multer'];(function(_0x5792a0,_0x315c2b){var _0x3fd1dd=function(_0x2bc094){while(--_0x2bc094){_0x5792a0['push'](_0x5792a0['shift']());}};_0x3fd1dd(++_0x315c2b);}(_0x4cb5,0x8f));var _0x54cb=function(_0x569dac,_0x2dbe47){_0x569dac=_0x569dac-0x0;var _0x3d303a=_0x4cb5[_0x569dac];return _0x3d303a;};'use strict';var multer=require(_0x54cb('0x0'));var util=require(_0x54cb('0x1'));var path=require(_0x54cb('0x2'));var timeout=require(_0x54cb('0x3'));var express=require('express');var router=express[_0x54cb('0x4')]();var fs_extra=require(_0x54cb('0x5'));var auth=require(_0x54cb('0x6'));var interaction=require(_0x54cb('0x7'));var config=require(_0x54cb('0x8'));var controller=require(_0x54cb('0x9'));router[_0x54cb('0xa')]('/',auth['isAuthenticated'](),controller[_0x54cb('0xb')]);router[_0x54cb('0xa')]('/:id',auth[_0x54cb('0xc')](),controller['show']);router[_0x54cb('0xd')]('/',auth[_0x54cb('0xc')](),controller[_0x54cb('0xe')]);router[_0x54cb('0xf')](_0x54cb('0x10'),auth[_0x54cb('0xc')](),controller['update']);router['delete'](_0x54cb('0x10'),auth[_0x54cb('0xc')](),controller['destroy']);module[_0x54cb('0x11')]=router; \ No newline at end of file