X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileResource%2Findex.js;h=7944c1a68882871e0f60d0807f6002db760574ce;hb=dfacf7f441a092a1e235cb444060bf10fa72e39a;hp=c8b4cbe99fa1489f506c9fcfdca06762ab369549;hpb=5ce610d3f4c768865e05185aa062c8402f6dcea4;p=motion2.git diff --git a/server/api/userProfileResource/index.js b/server/api/userProfileResource/index.js index c8b4cbe..7944c1a 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 _0x68a5=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','show','post','/:id','delete','destroy','exports','multer','path','connect-timeout'];(function(_0x3b07db,_0x4da958){var _0x585ee1=function(_0x5df07f){while(--_0x5df07f){_0x3b07db['push'](_0x3b07db['shift']());}};_0x585ee1(++_0x4da958);}(_0x68a5,0xfc));var _0x568a=function(_0x2c79ea,_0x5b0b4f){_0x2c79ea=_0x2c79ea-0x0;var _0x9ac050=_0x68a5[_0x2c79ea];return _0x9ac050;};'use strict';var multer=require(_0x568a('0x0'));var util=require('util');var path=require(_0x568a('0x1'));var timeout=require(_0x568a('0x2'));var express=require('express');var router=express[_0x568a('0x3')]();var auth=require(_0x568a('0x4'));var interaction=require(_0x568a('0x5'));var config=require(_0x568a('0x6'));var controller=require('./userProfileResource.controller');router[_0x568a('0x7')]('/',auth['isAuthenticated'](),controller[_0x568a('0x8')]);router[_0x568a('0x7')](_0x568a('0x9'),auth[_0x568a('0xa')](),controller['describe']);router[_0x568a('0x7')]('/:id',auth[_0x568a('0xa')](),controller[_0x568a('0xb')]);router[_0x568a('0xc')]('/',auth[_0x568a('0xa')](),controller['create']);router['put'](_0x568a('0xd'),auth[_0x568a('0xa')](),controller['update']);router[_0x568a('0xe')]('/:id',auth[_0x568a('0xa')](),controller[_0x568a('0xf')]);module[_0x568a('0x10')]=router; \ No newline at end of file +var _0xc924=['show','update','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x16ea29,_0x1b1bef){var _0x5b6c64=function(_0x183fcb){while(--_0x183fcb){_0x16ea29['push'](_0x16ea29['shift']());}};_0x5b6c64(++_0x1b1bef);}(_0xc924,0x136));var _0x4c92=function(_0x28f19c,_0x3db02){_0x28f19c=_0x28f19c-0x0;var _0x5f30ce=_0xc924[_0x28f19c];return _0x5f30ce;};'use strict';var multer=require(_0x4c92('0x0'));var util=require(_0x4c92('0x1'));var path=require(_0x4c92('0x2'));var timeout=require(_0x4c92('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x4c92('0x4'));var interaction=require(_0x4c92('0x5'));var config=require(_0x4c92('0x6'));var controller=require(_0x4c92('0x7'));router[_0x4c92('0x8')]('/',auth[_0x4c92('0x9')](),controller[_0x4c92('0xa')]);router['get'](_0x4c92('0xb'),auth['isAuthenticated'](),controller[_0x4c92('0xc')]);router[_0x4c92('0x8')](_0x4c92('0xd'),auth['isAuthenticated'](),controller[_0x4c92('0xe')]);router['post']('/',auth[_0x4c92('0x9')](),controller['create']);router['put'](_0x4c92('0xd'),auth[_0x4c92('0x9')](),controller[_0x4c92('0xf')]);router['delete'](_0x4c92('0xd'),auth[_0x4c92('0x9')](),controller[_0x4c92('0x10')]);module[_0x4c92('0x11')]=router; \ No newline at end of file