X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileResource%2Findex.js;h=53bf873927e9f2c6792773c4be8ff0a5dda35f58;hb=7aaa08bda9320d80c8205d0e34514094571b4d43;hp=a111dd810b3406d29a853cca39bddec4d6c22e60;hpb=5000a430ddff4963e51a44d9cc6caf553b20b148;p=motion2.git diff --git a/server/api/userProfileResource/index.js b/server/api/userProfileResource/index.js index a111dd8..53bf873 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 _0x3b1e=['get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer','util','express','fs-extra','../../components/interaction/service','../../config/environment','./userProfileResource.controller'];(function(_0x595911,_0x4bc4f6){var _0x22aef9=function(_0x31850f){while(--_0x31850f){_0x595911['push'](_0x595911['shift']());}};_0x22aef9(++_0x4bc4f6);}(_0x3b1e,0x189));var _0xe3b1=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x3b1e[_0x19950b];return _0x3c6b41;};'use strict';var multer=require(_0xe3b1('0x0'));var util=require(_0xe3b1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe3b1('0x2'));var router=express['Router']();var fs_extra=require(_0xe3b1('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xe3b1('0x4'));var config=require(_0xe3b1('0x5'));var controller=require(_0xe3b1('0x6'));router[_0xe3b1('0x7')]('/',auth['isAuthenticated'](),controller[_0xe3b1('0x8')]);router[_0xe3b1('0x7')](_0xe3b1('0x9'),auth['isAuthenticated'](),controller[_0xe3b1('0xa')]);router[_0xe3b1('0x7')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller[_0xe3b1('0xd')]);router[_0xe3b1('0xe')]('/',auth[_0xe3b1('0xc')](),controller[_0xe3b1('0xf')]);router[_0xe3b1('0x10')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller['update']);router[_0xe3b1('0x11')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller[_0xe3b1('0x12')]);module[_0xe3b1('0x13')]=router; \ No newline at end of file +var _0x7c85=['../../components/auth/service','../../components/interaction/service','./userProfileResource.controller','get','isAuthenticated','index','/describe','/:id','show','create','put','update','delete','multer','path','express','Router'];(function(_0x3f59b4,_0xb4eb45){var _0x20c6b7=function(_0x204774){while(--_0x204774){_0x3f59b4['push'](_0x3f59b4['shift']());}};_0x20c6b7(++_0xb4eb45);}(_0x7c85,0x1b6));var _0x57c8=function(_0x399d76,_0xdc4493){_0x399d76=_0x399d76-0x0;var _0x3b19a1=_0x7c85[_0x399d76];return _0x3b19a1;};'use strict';var multer=require(_0x57c8('0x0'));var util=require('util');var path=require(_0x57c8('0x1'));var timeout=require('connect-timeout');var express=require(_0x57c8('0x2'));var router=express[_0x57c8('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x57c8('0x4'));var interaction=require(_0x57c8('0x5'));var config=require('../../config/environment');var controller=require(_0x57c8('0x6'));router[_0x57c8('0x7')]('/',auth[_0x57c8('0x8')](),controller[_0x57c8('0x9')]);router['get'](_0x57c8('0xa'),auth[_0x57c8('0x8')](),controller['describe']);router['get'](_0x57c8('0xb'),auth[_0x57c8('0x8')](),controller[_0x57c8('0xc')]);router['post']('/',auth[_0x57c8('0x8')](),controller[_0x57c8('0xd')]);router[_0x57c8('0xe')]('/:id',auth[_0x57c8('0x8')](),controller[_0x57c8('0xf')]);router[_0x57c8('0x10')]('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file