X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileSection%2Findex.js;h=13e6f0ca7fc95c96aa95405c0d3ccf37b9e00f78;hb=df0ace251160e026a7e125498e4dbc1656b5ca4e;hp=3991da5a025c7289d0d47da6feece232c1a19f58;hpb=bc74370e54ee193dccc81d92e42005d458c8ae66;p=motion2.git diff --git a/server/api/userProfileSection/index.js b/server/api/userProfileSection/index.js index 3991da5..13e6f0c 100644 --- a/server/api/userProfileSection/index.js +++ b/server/api/userProfileSection/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0e28=['../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','index','/describe','describe','create','/:id','update','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x0e28,0x12d));var _0x80e2=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x0e28[_0x4565bf];return _0x5610ba;};'use strict';var multer=require('multer');var util=require(_0x80e2('0x0'));var path=require(_0x80e2('0x1'));var timeout=require(_0x80e2('0x2'));var express=require('express');var router=express[_0x80e2('0x3')]();var auth=require(_0x80e2('0x4'));var interaction=require(_0x80e2('0x5'));var config=require(_0x80e2('0x6'));var controller=require(_0x80e2('0x7'));router[_0x80e2('0x8')]('/',auth[_0x80e2('0x9')](),controller[_0x80e2('0xa')]);router[_0x80e2('0x8')](_0x80e2('0xb'),auth['isAuthenticated'](),controller[_0x80e2('0xc')]);router[_0x80e2('0x8')]('/:id',auth[_0x80e2('0x9')](),controller['show']);router['post']('/',auth[_0x80e2('0x9')](),controller[_0x80e2('0xd')]);router['put'](_0x80e2('0xe'),auth[_0x80e2('0x9')](),controller[_0x80e2('0xf')]);router['delete'](_0x80e2('0xe'),auth[_0x80e2('0x9')](),controller[_0x80e2('0x10')]);module[_0x80e2('0x11')]=router; \ No newline at end of file +var _0xc5dd=['/:id','show','post','create','put','update','delete','destroy','multer','util','Router','../../components/auth/service','./userProfileSection.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x725b8e,_0xc22b48){var _0x43ac45=function(_0x46bb4a){while(--_0x46bb4a){_0x725b8e['push'](_0x725b8e['shift']());}};_0x43ac45(++_0xc22b48);}(_0xc5dd,0x170));var _0xdc5d=function(_0x94c044,_0x119fd7){_0x94c044=_0x94c044-0x0;var _0x323302=_0xc5dd[_0x94c044];return _0x323302;};'use strict';var multer=require(_0xdc5d('0x0'));var util=require(_0xdc5d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdc5d('0x2')]();var auth=require(_0xdc5d('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdc5d('0x4'));router['get']('/',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x6')]);router[_0xdc5d('0x7')](_0xdc5d('0x8'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x9')]);router[_0xdc5d('0x7')](_0xdc5d('0xa'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xb')]);router[_0xdc5d('0xc')]('/',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xd')]);router[_0xdc5d('0xe')](_0xdc5d('0xa'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xf')]);router[_0xdc5d('0x10')]('/:id',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x11')]);module['exports']=router; \ No newline at end of file