X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=d2ecf780083058c91f658337986df1a7f20f9278;hb=fbc87b59ef94ef6130a71493194cc41e82b19e21;hp=a2468717f72552f54a6d5ca3c9eee2d8942258be;hpb=7e2a86485d5b091066011cf58fcba785923a5ac5;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index a246871..d2ecf78 100644 --- a/server/api/openchannelApplication/index.js +++ b/server/api/openchannelApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1ff9=['show','post','put','update','destroy','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x421040,_0x42091c){var _0x3d737e=function(_0x32ff81){while(--_0x32ff81){_0x421040['push'](_0x421040['shift']());}};_0x3d737e(++_0x42091c);}(_0x1ff9,0xf5));var _0x91ff=function(_0xc916a3,_0x2b600c){_0xc916a3=_0xc916a3-0x0;var _0x15ae95=_0x1ff9[_0xc916a3];return _0x15ae95;};'use strict';var multer=require(_0x91ff('0x0'));var util=require(_0x91ff('0x1'));var path=require(_0x91ff('0x2'));var timeout=require('connect-timeout');var express=require(_0x91ff('0x3'));var router=express['Router']();var auth=require(_0x91ff('0x4'));var interaction=require(_0x91ff('0x5'));var config=require(_0x91ff('0x6'));var controller=require('./openchannelApplication.controller');router[_0x91ff('0x7')]('/',auth[_0x91ff('0x8')](),controller[_0x91ff('0x9')]);router[_0x91ff('0x7')](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xb')]);router[_0x91ff('0xc')]('/',auth[_0x91ff('0x8')](),controller['create']);router[_0x91ff('0xd')](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xe')]);router['delete'](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xf')]);module['exports']=router; \ No newline at end of file +var _0xaab8=['index','/:id','show','post','create','put','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./openchannelApplication.controller','get','isAuthenticated'];(function(_0x3d22f9,_0x7e50b3){var _0xadd59f=function(_0x4771c1){while(--_0x4771c1){_0x3d22f9['push'](_0x3d22f9['shift']());}};_0xadd59f(++_0x7e50b3);}(_0xaab8,0x125));var _0x8aab=function(_0x313706,_0x2f2b9){_0x313706=_0x313706-0x0;var _0x4ecd3c=_0xaab8[_0x313706];return _0x4ecd3c;};'use strict';var multer=require(_0x8aab('0x0'));var util=require(_0x8aab('0x1'));var path=require(_0x8aab('0x2'));var timeout=require(_0x8aab('0x3'));var express=require(_0x8aab('0x4'));var router=express[_0x8aab('0x5')]();var auth=require(_0x8aab('0x6'));var interaction=require(_0x8aab('0x7'));var config=require('../../config/environment');var controller=require(_0x8aab('0x8'));router[_0x8aab('0x9')]('/',auth[_0x8aab('0xa')](),controller[_0x8aab('0xb')]);router[_0x8aab('0x9')](_0x8aab('0xc'),auth[_0x8aab('0xa')](),controller[_0x8aab('0xd')]);router[_0x8aab('0xe')]('/',auth['isAuthenticated'](),controller[_0x8aab('0xf')]);router[_0x8aab('0x10')](_0x8aab('0xc'),auth[_0x8aab('0xa')](),controller['update']);router[_0x8aab('0x11')](_0x8aab('0xc'),auth['isAuthenticated'](),controller[_0x8aab('0x12')]);module['exports']=router; \ No newline at end of file