X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=7124eb2d0791262db3f2d77244288cc6d19e58c7;hb=8760336ae9d6b2a58263da3af1da5befbbce9c18;hp=401b325fcddb73e87a895d5100409b65474ae9ae;hpb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index 401b325..7124eb2 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 _0xc1b2=['connect-timeout','express','Router','../../components/interaction/service','./openchannelApplication.controller','isAuthenticated','show','post','create','put','/:id','delete','destroy','multer','util','path'];(function(_0x4c9f6a,_0xcb2cb2){var _0x5df5b9=function(_0x303cf2){while(--_0x303cf2){_0x4c9f6a['push'](_0x4c9f6a['shift']());}};_0x5df5b9(++_0xcb2cb2);}(_0xc1b2,0x12d));var _0x2c1b=function(_0xa7957f,_0x1621ac){_0xa7957f=_0xa7957f-0x0;var _0xfe6f31=_0xc1b2[_0xa7957f];return _0xfe6f31;};'use strict';var multer=require(_0x2c1b('0x0'));var util=require(_0x2c1b('0x1'));var path=require(_0x2c1b('0x2'));var timeout=require(_0x2c1b('0x3'));var express=require(_0x2c1b('0x4'));var router=express[_0x2c1b('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2c1b('0x6'));var config=require('../../config/environment');var controller=require(_0x2c1b('0x7'));router['get']('/',auth[_0x2c1b('0x8')](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x2c1b('0x9')]);router[_0x2c1b('0xa')]('/',auth[_0x2c1b('0x8')](),controller[_0x2c1b('0xb')]);router[_0x2c1b('0xc')](_0x2c1b('0xd'),auth[_0x2c1b('0x8')](),controller['update']);router[_0x2c1b('0xe')](_0x2c1b('0xd'),auth[_0x2c1b('0x8')](),controller[_0x2c1b('0xf')]);module['exports']=router; \ No newline at end of file +var _0xdaf7=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelApplication.controller','isAuthenticated','index','get','show','post','create','/:id','update','destroy','multer'];(function(_0x58eec7,_0x2353db){var _0x25c5d3=function(_0x1ae895){while(--_0x1ae895){_0x58eec7['push'](_0x58eec7['shift']());}};_0x25c5d3(++_0x2353db);}(_0xdaf7,0xb3));var _0x7daf=function(_0x3967b9,_0xdae4b){_0x3967b9=_0x3967b9-0x0;var _0x7dc381=_0xdaf7[_0x3967b9];return _0x7dc381;};'use strict';var multer=require(_0x7daf('0x0'));var util=require(_0x7daf('0x1'));var path=require(_0x7daf('0x2'));var timeout=require(_0x7daf('0x3'));var express=require(_0x7daf('0x4'));var router=express[_0x7daf('0x5')]();var fs_extra=require(_0x7daf('0x6'));var auth=require(_0x7daf('0x7'));var interaction=require(_0x7daf('0x8'));var config=require(_0x7daf('0x9'));var controller=require(_0x7daf('0xa'));router['get']('/',auth[_0x7daf('0xb')](),controller[_0x7daf('0xc')]);router[_0x7daf('0xd')]('/:id',auth['isAuthenticated'](),controller[_0x7daf('0xe')]);router[_0x7daf('0xf')]('/',auth[_0x7daf('0xb')](),controller[_0x7daf('0x10')]);router['put'](_0x7daf('0x11'),auth[_0x7daf('0xb')](),controller[_0x7daf('0x12')]);router['delete'](_0x7daf('0x11'),auth['isAuthenticated'](),controller[_0x7daf('0x13')]);module['exports']=router; \ No newline at end of file