X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=39b1d2be7cebb8ea3a3a2da8f4c5d3fddfce9b1c;hb=dfacf7f441a092a1e235cb444060bf10fa72e39a;hp=4cffd995335eb916d2c311f7c3f1bd2b14df81f0;hpb=5ce610d3f4c768865e05185aa062c8402f6dcea4;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index 4cffd99..39b1d2b 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 _0x9157=['express','Router','../../components/auth/service','../../config/environment','./openchannelApplication.controller','isAuthenticated','index','get','/:id','show','post','create','update','destroy','exports','connect-timeout'];(function(_0x8cfc18,_0xa5bb8b){var _0x28df2d=function(_0x136ee3){while(--_0x136ee3){_0x8cfc18['push'](_0x8cfc18['shift']());}};_0x28df2d(++_0xa5bb8b);}(_0x9157,0x16f));var _0x7915=function(_0x1ac120,_0x3e7e45){_0x1ac120=_0x1ac120-0x0;var _0x19b703=_0x9157[_0x1ac120];return _0x19b703;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x7915('0x0'));var express=require(_0x7915('0x1'));var router=express[_0x7915('0x2')]();var auth=require(_0x7915('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7915('0x4'));var controller=require(_0x7915('0x5'));router['get']('/',auth[_0x7915('0x6')](),controller[_0x7915('0x7')]);router[_0x7915('0x8')](_0x7915('0x9'),auth[_0x7915('0x6')](),controller[_0x7915('0xa')]);router[_0x7915('0xb')]('/',auth[_0x7915('0x6')](),controller[_0x7915('0xc')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x7915('0xd')]);router['delete']('/:id',auth[_0x7915('0x6')](),controller[_0x7915('0xe')]);module[_0x7915('0xf')]=router; \ No newline at end of file +var _0xa223=['path','express','Router','../../components/auth/service','../../config/environment','./openchannelApplication.controller','get','isAuthenticated','/:id','show','post','create','update','delete','exports','multer'];(function(_0x55aff0,_0x1d3869){var _0x52cdb9=function(_0x117c4e){while(--_0x117c4e){_0x55aff0['push'](_0x55aff0['shift']());}};_0x52cdb9(++_0x1d3869);}(_0xa223,0xbf));var _0x3a22=function(_0x4a2403,_0x1750ec){_0x4a2403=_0x4a2403-0x0;var _0x205228=_0xa223[_0x4a2403];return _0x205228;};'use strict';var multer=require(_0x3a22('0x0'));var util=require('util');var path=require(_0x3a22('0x1'));var timeout=require('connect-timeout');var express=require(_0x3a22('0x2'));var router=express[_0x3a22('0x3')]();var auth=require(_0x3a22('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x3a22('0x5'));var controller=require(_0x3a22('0x6'));router[_0x3a22('0x7')]('/',auth[_0x3a22('0x8')](),controller['index']);router[_0x3a22('0x7')](_0x3a22('0x9'),auth[_0x3a22('0x8')](),controller[_0x3a22('0xa')]);router[_0x3a22('0xb')]('/',auth['isAuthenticated'](),controller[_0x3a22('0xc')]);router['put'](_0x3a22('0x9'),auth[_0x3a22('0x8')](),controller[_0x3a22('0xd')]);router[_0x3a22('0xe')](_0x3a22('0x9'),auth[_0x3a22('0x8')](),controller['destroy']);module[_0x3a22('0xf')]=router; \ No newline at end of file