X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileSection%2Findex.js;h=2e36eee5a2753b412720e89d4ff77eed4312c5b3;hb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;hp=1d8c0113d0642a4412de61591c3c8e872b03c953;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/userProfileSection/index.js b/server/api/userProfileSection/index.js index 1d8c011..2e36eee 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 _0x4349=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','index','/describe','isAuthenticated','describe','get','/:id','show','update','delete','destroy','exports','util','connect-timeout'];(function(_0x3fb174,_0xcb266f){var _0x4ac336=function(_0x3a4d47){while(--_0x3a4d47){_0x3fb174['push'](_0x3fb174['shift']());}};_0x4ac336(++_0xcb266f);}(_0x4349,0x1c6));var _0x9434=function(_0x4e3244,_0x1ec0fb){_0x4e3244=_0x4e3244-0x0;var _0x2f94d1=_0x4349[_0x4e3244];return _0x2f94d1;};'use strict';var multer=require('multer');var util=require(_0x9434('0x0'));var path=require('path');var timeout=require(_0x9434('0x1'));var express=require(_0x9434('0x2'));var router=express[_0x9434('0x3')]();var auth=require(_0x9434('0x4'));var interaction=require(_0x9434('0x5'));var config=require(_0x9434('0x6'));var controller=require(_0x9434('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x9434('0x8')]);router['get'](_0x9434('0x9'),auth[_0x9434('0xa')](),controller[_0x9434('0xb')]);router[_0x9434('0xc')](_0x9434('0xd'),auth[_0x9434('0xa')](),controller[_0x9434('0xe')]);router['post']('/',auth[_0x9434('0xa')](),controller['create']);router['put'](_0x9434('0xd'),auth[_0x9434('0xa')](),controller[_0x9434('0xf')]);router[_0x9434('0x10')]('/:id',auth[_0x9434('0xa')](),controller[_0x9434('0x11')]);module[_0x9434('0x12')]=router; \ No newline at end of file +var _0x884c=['/:id','post','put','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','index','describe'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x884c,0x16e));var _0xc884=function(_0x55ab21,_0x5dd62a){_0x55ab21=_0x55ab21-0x0;var _0x3d17d0=_0x884c[_0x55ab21];return _0x3d17d0;};'use strict';var multer=require(_0xc884('0x0'));var util=require(_0xc884('0x1'));var path=require(_0xc884('0x2'));var timeout=require(_0xc884('0x3'));var express=require(_0xc884('0x4'));var router=express[_0xc884('0x5')]();var fs_extra=require(_0xc884('0x6'));var auth=require(_0xc884('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xc884('0x8'));var controller=require(_0xc884('0x9'));router[_0xc884('0xa')]('/',auth[_0xc884('0xb')](),controller[_0xc884('0xc')]);router[_0xc884('0xa')]('/describe',auth[_0xc884('0xb')](),controller[_0xc884('0xd')]);router[_0xc884('0xa')](_0xc884('0xe'),auth[_0xc884('0xb')](),controller['show']);router[_0xc884('0xf')]('/',auth[_0xc884('0xb')](),controller['create']);router[_0xc884('0x10')](_0xc884('0xe'),auth[_0xc884('0xb')](),controller['update']);router['delete'](_0xc884('0xe'),auth[_0xc884('0xb')](),controller[_0xc884('0x11')]);module[_0xc884('0x12')]=router; \ No newline at end of file