X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileResource%2Findex.js;h=0aa0b5eb5783d152df48bc0dec3ff1ef6583f2e0;hb=bbf2934691a4ec9ff4842d68e55333ba589f6077;hp=9316007c8cfa18977627751581086a0c604be451;hpb=f6a4a6da2059d78b5a9307c96563cc0d2a15e915;p=motion2.git diff --git a/server/api/userProfileResource/index.js b/server/api/userProfileResource/index.js index 9316007..0aa0b5e 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 _0x75e4=['isAuthenticated','index','/describe','describe','show','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./userProfileResource.controller','get'];(function(_0x45f6e2,_0xe72d77){var _0x573b09=function(_0x3aa398){while(--_0x3aa398){_0x45f6e2['push'](_0x45f6e2['shift']());}};_0x573b09(++_0xe72d77);}(_0x75e4,0x19b));var _0x475e=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0x75e4[_0x199572];return _0x13cfa3;};'use strict';var multer=require(_0x475e('0x0'));var util=require(_0x475e('0x1'));var path=require(_0x475e('0x2'));var timeout=require(_0x475e('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x475e('0x4'));var auth=require(_0x475e('0x5'));var interaction=require(_0x475e('0x6'));var config=require('../../config/environment');var controller=require(_0x475e('0x7'));router[_0x475e('0x8')]('/',auth[_0x475e('0x9')](),controller[_0x475e('0xa')]);router['get'](_0x475e('0xb'),auth[_0x475e('0x9')](),controller[_0x475e('0xc')]);router[_0x475e('0x8')]('/:id',auth[_0x475e('0x9')](),controller[_0x475e('0xd')]);router['post']('/',auth[_0x475e('0x9')](),controller[_0x475e('0xe')]);router[_0x475e('0xf')](_0x475e('0x10'),auth['isAuthenticated'](),controller[_0x475e('0x11')]);router['delete'](_0x475e('0x10'),auth[_0x475e('0x9')](),controller[_0x475e('0x12')]);module[_0x475e('0x13')]=router; \ No newline at end of file +var _0xb203=['describe','/:id','show','post','update','delete','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated'];(function(_0x20bd8c,_0x4c694b){var _0x3450cd=function(_0x1b95f2){while(--_0x1b95f2){_0x20bd8c['push'](_0x20bd8c['shift']());}};_0x3450cd(++_0x4c694b);}(_0xb203,0x1e7));var _0x3b20=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0xb203[_0x2be8c2];return _0x97f531;};'use strict';var multer=require(_0x3b20('0x0'));var util=require(_0x3b20('0x1'));var path=require(_0x3b20('0x2'));var timeout=require('connect-timeout');var express=require(_0x3b20('0x3'));var router=express[_0x3b20('0x4')]();var fs_extra=require(_0x3b20('0x5'));var auth=require(_0x3b20('0x6'));var interaction=require(_0x3b20('0x7'));var config=require(_0x3b20('0x8'));var controller=require('./userProfileResource.controller');router[_0x3b20('0x9')]('/',auth['isAuthenticated'](),controller[_0x3b20('0xa')]);router[_0x3b20('0x9')](_0x3b20('0xb'),auth[_0x3b20('0xc')](),controller[_0x3b20('0xd')]);router[_0x3b20('0x9')](_0x3b20('0xe'),auth[_0x3b20('0xc')](),controller[_0x3b20('0xf')]);router[_0x3b20('0x10')]('/',auth[_0x3b20('0xc')](),controller['create']);router['put'](_0x3b20('0xe'),auth[_0x3b20('0xc')](),controller[_0x3b20('0x11')]);router[_0x3b20('0x12')](_0x3b20('0xe'),auth[_0x3b20('0xc')](),controller['destroy']);module[_0x3b20('0x13')]=router; \ No newline at end of file