X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileSection%2Findex.js;h=466664165c030934384a5a487c3131c0c916663b;hb=8e2eddd7ebca3d533fed92df8556303e2e510136;hp=14714373f8c55c6b2c479f386ebde1f42ece52cb;hpb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;p=motion2.git diff --git a/server/api/userProfileSection/index.js b/server/api/userProfileSection/index.js index 1471437..4666641 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 _0x7cf5=['destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','get','/describe','describe','/:id','show','post','put','update','delete'];(function(_0x2e34f2,_0x445c47){var _0x98d46=function(_0x426227){while(--_0x426227){_0x2e34f2['push'](_0x2e34f2['shift']());}};_0x98d46(++_0x445c47);}(_0x7cf5,0xfe));var _0x57cf=function(_0x57649e,_0x1c0854){_0x57649e=_0x57649e-0x0;var _0x43fdda=_0x7cf5[_0x57649e];return _0x43fdda;};'use strict';var multer=require('multer');var util=require(_0x57cf('0x0'));var path=require(_0x57cf('0x1'));var timeout=require(_0x57cf('0x2'));var express=require('express');var router=express[_0x57cf('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x57cf('0x4'));var interaction=require(_0x57cf('0x5'));var config=require('../../config/environment');var controller=require('./userProfileSection.controller');router['get']('/',auth[_0x57cf('0x6')](),controller['index']);router[_0x57cf('0x7')](_0x57cf('0x8'),auth['isAuthenticated'](),controller[_0x57cf('0x9')]);router['get'](_0x57cf('0xa'),auth[_0x57cf('0x6')](),controller[_0x57cf('0xb')]);router[_0x57cf('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x57cf('0xd')]('/:id',auth[_0x57cf('0x6')](),controller[_0x57cf('0xe')]);router[_0x57cf('0xf')](_0x57cf('0xa'),auth['isAuthenticated'](),controller[_0x57cf('0x10')]);module[_0x57cf('0x11')]=router; \ No newline at end of file +var _0x25fc=['../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','index','/describe','describe','/:id','isAuthenticated','show','post','put','update','multer','util','connect-timeout','Router','fs-extra'];(function(_0x11f37d,_0x2eae6a){var _0x1d18c0=function(_0x839fe1){while(--_0x839fe1){_0x11f37d['push'](_0x11f37d['shift']());}};_0x1d18c0(++_0x2eae6a);}(_0x25fc,0x105));var _0xc25f=function(_0x149e4b,_0xa7450f){_0x149e4b=_0x149e4b-0x0;var _0x38d26a=_0x25fc[_0x149e4b];return _0x38d26a;};'use strict';var multer=require(_0xc25f('0x0'));var util=require(_0xc25f('0x1'));var path=require('path');var timeout=require(_0xc25f('0x2'));var express=require('express');var router=express[_0xc25f('0x3')]();var fs_extra=require(_0xc25f('0x4'));var auth=require(_0xc25f('0x5'));var interaction=require(_0xc25f('0x6'));var config=require(_0xc25f('0x7'));var controller=require(_0xc25f('0x8'));router[_0xc25f('0x9')]('/',auth['isAuthenticated'](),controller[_0xc25f('0xa')]);router['get'](_0xc25f('0xb'),auth['isAuthenticated'](),controller[_0xc25f('0xc')]);router[_0xc25f('0x9')](_0xc25f('0xd'),auth[_0xc25f('0xe')](),controller[_0xc25f('0xf')]);router[_0xc25f('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc25f('0x11')](_0xc25f('0xd'),auth[_0xc25f('0xe')](),controller[_0xc25f('0x12')]);router['delete'](_0xc25f('0xd'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file