X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileResource%2Findex.js;h=0b80952ed87dfb3759e56f1f8d50c863a127481c;hb=262e7062005b3f571634c4983ecdb7eac829efe8;hp=5ce77042e556b0a69bbdb47298c95c78c8d25359;hpb=616b05b12f37a2d91c8e3c0e9817684f8aa283c7;p=motion2.git diff --git a/server/api/userProfileResource/index.js b/server/api/userProfileResource/index.js index 5ce7704..0b80952 100644 --- a/server/api/userProfileResource/index.js +++ b/server/api/userProfileResource/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf3b1=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','create','put','delete','destroy','multer','util'];(function(_0x236263,_0xc103fb){var _0x4aa300=function(_0x5df840){while(--_0x5df840){_0x236263['push'](_0x236263['shift']());}};_0x4aa300(++_0xc103fb);}(_0xf3b1,0x1b1));var _0x1f3b=function(_0x5b0047,_0x4c0f20){_0x5b0047=_0x5b0047-0x0;var _0x66101c=_0xf3b1[_0x5b0047];return _0x66101c;};'use strict';var multer=require(_0x1f3b('0x0'));var util=require(_0x1f3b('0x1'));var path=require('path');var timeout=require(_0x1f3b('0x2'));var express=require(_0x1f3b('0x3'));var router=express['Router']();var auth=require(_0x1f3b('0x4'));var interaction=require(_0x1f3b('0x5'));var config=require(_0x1f3b('0x6'));var controller=require('./userProfileResource.controller');router[_0x1f3b('0x7')]('/',auth[_0x1f3b('0x8')](),controller['index']);router[_0x1f3b('0x7')]('/describe',auth[_0x1f3b('0x8')](),controller['describe']);router[_0x1f3b('0x7')](_0x1f3b('0x9'),auth['isAuthenticated'](),controller[_0x1f3b('0xa')]);router['post']('/',auth[_0x1f3b('0x8')](),controller[_0x1f3b('0xb')]);router[_0x1f3b('0xc')](_0x1f3b('0x9'),auth[_0x1f3b('0x8')](),controller['update']);router[_0x1f3b('0xd')]('/:id',auth[_0x1f3b('0x8')](),controller[_0x1f3b('0xe')]);module['exports']=router; \ No newline at end of file +var _0x66ce=['/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','post','put'];(function(_0x342baa,_0x4a110f){var _0x1208f3=function(_0x56a645){while(--_0x56a645){_0x342baa['push'](_0x342baa['shift']());}};_0x1208f3(++_0x4a110f);}(_0x66ce,0x181));var _0xe66c=function(_0x2a7576,_0xa97712){_0x2a7576=_0x2a7576-0x0;var _0x5c756b=_0x66ce[_0x2a7576];return _0x5c756b;};'use strict';var multer=require(_0xe66c('0x0'));var util=require('util');var path=require(_0xe66c('0x1'));var timeout=require(_0xe66c('0x2'));var express=require(_0xe66c('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xe66c('0x4'));var config=require(_0xe66c('0x5'));var controller=require('./userProfileResource.controller');router[_0xe66c('0x6')]('/',auth[_0xe66c('0x7')](),controller[_0xe66c('0x8')]);router[_0xe66c('0x6')](_0xe66c('0x9'),auth[_0xe66c('0x7')](),controller[_0xe66c('0xa')]);router[_0xe66c('0x6')]('/:id',auth[_0xe66c('0x7')](),controller[_0xe66c('0xb')]);router[_0xe66c('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe66c('0xd')](_0xe66c('0xe'),auth[_0xe66c('0x7')](),controller[_0xe66c('0xf')]);router[_0xe66c('0x10')]('/:id',auth[_0xe66c('0x7')](),controller[_0xe66c('0x11')]);module[_0xe66c('0x12')]=router; \ No newline at end of file