X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelApplication%2Findex.js;h=fa9830039f12c7afbfd398264e6e1cedfa79f1eb;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=36ae18c37535f0b8b48a6b8f4ae1f3a79ff736d7;hpb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;p=motion2.git diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index 36ae18c..fa98300 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 _0x7a58=['Router','fs-extra','../../config/environment','./openchannelApplication.controller','get','isAuthenticated','index','/:id','post','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x3a4b1f,_0x5cf288){var _0x1081c0=function(_0x4d964a){while(--_0x4d964a){_0x3a4b1f['push'](_0x3a4b1f['shift']());}};_0x1081c0(++_0x5cf288);}(_0x7a58,0x11c));var _0x87a5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7a58[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x87a5('0x0'));var util=require(_0x87a5('0x1'));var path=require(_0x87a5('0x2'));var timeout=require(_0x87a5('0x3'));var express=require(_0x87a5('0x4'));var router=express[_0x87a5('0x5')]();var fs_extra=require(_0x87a5('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x87a5('0x7'));var controller=require(_0x87a5('0x8'));router[_0x87a5('0x9')]('/',auth[_0x87a5('0xa')](),controller[_0x87a5('0xb')]);router[_0x87a5('0x9')](_0x87a5('0xc'),auth[_0x87a5('0xa')](),controller['show']);router[_0x87a5('0xd')]('/',auth[_0x87a5('0xa')](),controller['create']);router['put'](_0x87a5('0xc'),auth[_0x87a5('0xa')](),controller[_0x87a5('0xe')]);router[_0x87a5('0xf')](_0x87a5('0xc'),auth[_0x87a5('0xa')](),controller[_0x87a5('0x10')]);module['exports']=router; \ No newline at end of file +var _0x56d5=['get','isAuthenticated','index','show','post','put','delete','destroy','multer','util','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelApplication.controller'];(function(_0x4ef1e7,_0x20dc78){var _0x350db6=function(_0x3b086e){while(--_0x3b086e){_0x4ef1e7['push'](_0x4ef1e7['shift']());}};_0x350db6(++_0x20dc78);}(_0x56d5,0x198));var _0x556d=function(_0x26d270,_0x527d2c){_0x26d270=_0x26d270-0x0;var _0x491787=_0x56d5[_0x26d270];return _0x491787;};'use strict';var multer=require(_0x556d('0x0'));var util=require(_0x556d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x556d('0x2'));var router=express[_0x556d('0x3')]();var fs_extra=require(_0x556d('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x556d('0x5'));var config=require(_0x556d('0x6'));var controller=require(_0x556d('0x7'));router[_0x556d('0x8')]('/',auth[_0x556d('0x9')](),controller[_0x556d('0xa')]);router[_0x556d('0x8')]('/:id',auth[_0x556d('0x9')](),controller[_0x556d('0xb')]);router[_0x556d('0xc')]('/',auth[_0x556d('0x9')](),controller['create']);router[_0x556d('0xd')]('/:id',auth[_0x556d('0x9')](),controller['update']);router[_0x556d('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x556d('0xf')]);module['exports']=router; \ No newline at end of file