X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=fe010fe3aa0aabb044f6ea6483968e42219bce47;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=fd158a0bb57a53fdee7a3ecf447e1cbda0290776;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index fd158a0..fe010fe 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 _0xd129=['./openchannelApplication.controller','get','isAuthenticated','show','post','/:id','delete','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x13482e,_0x5aed1c){var _0x259b52=function(_0x183708){while(--_0x183708){_0x13482e['push'](_0x13482e['shift']());}};_0x259b52(++_0x5aed1c);}(_0xd129,0x1a7));var _0x9d12=function(_0x225440,_0x51171c){_0x225440=_0x225440-0x0;var _0xd905a1=_0xd129[_0x225440];return _0xd905a1;};'use strict';var multer=require('multer');var util=require(_0x9d12('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x9d12('0x1'));var router=express[_0x9d12('0x2')]();var fs_extra=require(_0x9d12('0x3'));var auth=require(_0x9d12('0x4'));var interaction=require(_0x9d12('0x5'));var config=require('../../config/environment');var controller=require(_0x9d12('0x6'));router[_0x9d12('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0x9d12('0x8')](),controller[_0x9d12('0x9')]);router[_0x9d12('0xa')]('/',auth[_0x9d12('0x8')](),controller['create']);router['put'](_0x9d12('0xb'),auth[_0x9d12('0x8')](),controller['update']);router[_0x9d12('0xc')](_0x9d12('0xb'),auth[_0x9d12('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x3c0f=['multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','create','put','update','delete','destroy','exports'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x3c0f,0x144));var _0xf3c0=function(_0x3932eb,_0x43b210){_0x3932eb=_0x3932eb-0x0;var _0x5316e5=_0x3c0f[_0x3932eb];return _0x5316e5;};'use strict';var multer=require(_0xf3c0('0x0'));var util=require(_0xf3c0('0x1'));var path=require('path');var timeout=require(_0xf3c0('0x2'));var express=require(_0xf3c0('0x3'));var router=express[_0xf3c0('0x4')]();var fs_extra=require(_0xf3c0('0x5'));var auth=require(_0xf3c0('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf3c0('0x7'));var controller=require('./openchannelApplication.controller');router[_0xf3c0('0x8')]('/',auth['isAuthenticated'](),controller[_0xf3c0('0x9')]);router[_0xf3c0('0x8')](_0xf3c0('0xa'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xf3c0('0xb')](),controller[_0xf3c0('0xc')]);router[_0xf3c0('0xd')]('/:id',auth[_0xf3c0('0xb')](),controller[_0xf3c0('0xe')]);router[_0xf3c0('0xf')](_0xf3c0('0xa'),auth['isAuthenticated'](),controller[_0xf3c0('0x10')]);module[_0xf3c0('0x11')]=router; \ No newline at end of file