X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=2bdc1b959729e1a746d196360faa466833ccf6ef;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=d2503707a8a0062513a5d4a0a32a6f0cc850eab5;hpb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index d250370..2bdc1b9 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 _0xed3a=['get','/:id','isAuthenticated','show','post','create','delete','destroy','util','path','connect-timeout','express','fs-extra','../../components/auth/service','./openchannelApplication.controller'];(function(_0x4137ce,_0x3b7c0d){var _0x2bbd00=function(_0x32b1d2){while(--_0x32b1d2){_0x4137ce['push'](_0x4137ce['shift']());}};_0x2bbd00(++_0x3b7c0d);}(_0xed3a,0x107));var _0xaed3=function(_0x69fe7b,_0x54ff0e){_0x69fe7b=_0x69fe7b-0x0;var _0x283612=_0xed3a[_0x69fe7b];return _0x283612;};'use strict';var multer=require('multer');var util=require(_0xaed3('0x0'));var path=require(_0xaed3('0x1'));var timeout=require(_0xaed3('0x2'));var express=require(_0xaed3('0x3'));var router=express['Router']();var fs_extra=require(_0xaed3('0x4'));var auth=require(_0xaed3('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xaed3('0x6'));router[_0xaed3('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xaed3('0x7')](_0xaed3('0x8'),auth[_0xaed3('0x9')](),controller[_0xaed3('0xa')]);router[_0xaed3('0xb')]('/',auth[_0xaed3('0x9')](),controller[_0xaed3('0xc')]);router['put'](_0xaed3('0x8'),auth[_0xaed3('0x9')](),controller['update']);router[_0xaed3('0xd')](_0xaed3('0x8'),auth[_0xaed3('0x9')](),controller[_0xaed3('0xe')]);module['exports']=router; \ No newline at end of file +var _0xa554=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelApplication.controller','get','index','/:id','isAuthenticated','post','put','update','destroy','exports','util','connect-timeout','express'];(function(_0x2200c3,_0x4bc3de){var _0x249217=function(_0x530339){while(--_0x530339){_0x2200c3['push'](_0x2200c3['shift']());}};_0x249217(++_0x4bc3de);}(_0xa554,0xb1));var _0x4a55=function(_0x3e2d1c,_0x26a2b5){_0x3e2d1c=_0x3e2d1c-0x0;var _0x2d0908=_0xa554[_0x3e2d1c];return _0x2d0908;};'use strict';var multer=require('multer');var util=require(_0x4a55('0x0'));var path=require('path');var timeout=require(_0x4a55('0x1'));var express=require(_0x4a55('0x2'));var router=express[_0x4a55('0x3')]();var fs_extra=require(_0x4a55('0x4'));var auth=require(_0x4a55('0x5'));var interaction=require(_0x4a55('0x6'));var config=require(_0x4a55('0x7'));var controller=require(_0x4a55('0x8'));router[_0x4a55('0x9')]('/',auth['isAuthenticated'](),controller[_0x4a55('0xa')]);router[_0x4a55('0x9')](_0x4a55('0xb'),auth[_0x4a55('0xc')](),controller['show']);router[_0x4a55('0xd')]('/',auth[_0x4a55('0xc')](),controller['create']);router[_0x4a55('0xe')](_0x4a55('0xb'),auth[_0x4a55('0xc')](),controller[_0x4a55('0xf')]);router['delete'](_0x4a55('0xb'),auth[_0x4a55('0xc')](),controller[_0x4a55('0x10')]);module[_0x4a55('0x11')]=router; \ No newline at end of file