X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfileSection%2Findex.js;fp=server%2Fapi%2FuserProfileSection%2Findex.js;h=ebe2e64303dceed461316af99ee2c6509631ae51;hb=5083750143c3c88bdac459e1fc96a5f7f552fbd6;hp=5f446f5c86fd2390eb0d26a22856b83b063afcef;hpb=8de30684771e4539598fcfa869d5f97a2efb140f;p=motion2.git diff --git a/server/api/userProfileSection/index.js b/server/api/userProfileSection/index.js index 5f446f5..ebe2e64 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 _0x743e=['/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','create','put'];(function(_0x524cfc,_0x965821){var _0x4950a7=function(_0x251c6b){while(--_0x251c6b){_0x524cfc['push'](_0x524cfc['shift']());}};_0x4950a7(++_0x965821);}(_0x743e,0x11d));var _0xe743=function(_0x147a09,_0x23c22a){_0x147a09=_0x147a09-0x0;var _0x3558a0=_0x743e[_0x147a09];return _0x3558a0;};'use strict';var multer=require(_0xe743('0x0'));var util=require(_0xe743('0x1'));var path=require('path');var timeout=require(_0xe743('0x2'));var express=require(_0xe743('0x3'));var router=express[_0xe743('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe743('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe743('0x6'));var controller=require('./userProfileSection.controller');router[_0xe743('0x7')]('/',auth[_0xe743('0x8')](),controller[_0xe743('0x9')]);router[_0xe743('0x7')](_0xe743('0xa'),auth[_0xe743('0x8')](),controller[_0xe743('0xb')]);router[_0xe743('0x7')]('/:id',auth[_0xe743('0x8')](),controller[_0xe743('0xc')]);router['post']('/',auth[_0xe743('0x8')](),controller[_0xe743('0xd')]);router[_0xe743('0xe')](_0xe743('0xf'),auth[_0xe743('0x8')](),controller[_0xe743('0x10')]);router[_0xe743('0x11')](_0xe743('0xf'),auth[_0xe743('0x8')](),controller[_0xe743('0x12')]);module[_0xe743('0x13')]=router; \ No newline at end of file +var _0xda06=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','path'];(function(_0x1fe453,_0x3daa75){var _0x4b59c8=function(_0x391f8e){while(--_0x391f8e){_0x1fe453['push'](_0x1fe453['shift']());}};_0x4b59c8(++_0x3daa75);}(_0xda06,0x14e));var _0x6da0=function(_0x4b526b,_0x2f1317){_0x4b526b=_0x4b526b-0x0;var _0x57f25d=_0xda06[_0x4b526b];return _0x57f25d;};'use strict';var multer=require(_0x6da0('0x0'));var util=require('util');var path=require(_0x6da0('0x1'));var timeout=require(_0x6da0('0x2'));var express=require(_0x6da0('0x3'));var router=express[_0x6da0('0x4')]();var fs_extra=require(_0x6da0('0x5'));var auth=require(_0x6da0('0x6'));var interaction=require(_0x6da0('0x7'));var config=require('../../config/environment');var controller=require('./userProfileSection.controller');router[_0x6da0('0x8')]('/',auth[_0x6da0('0x9')](),controller[_0x6da0('0xa')]);router['get'](_0x6da0('0xb'),auth[_0x6da0('0x9')](),controller[_0x6da0('0xc')]);router[_0x6da0('0x8')](_0x6da0('0xd'),auth[_0x6da0('0x9')](),controller['show']);router[_0x6da0('0xe')]('/',auth['isAuthenticated'](),controller[_0x6da0('0xf')]);router[_0x6da0('0x10')](_0x6da0('0xd'),auth[_0x6da0('0x9')](),controller[_0x6da0('0x11')]);router[_0x6da0('0x12')](_0x6da0('0xd'),auth[_0x6da0('0x9')](),controller[_0x6da0('0x13')]);module[_0x6da0('0x14')]=router; \ No newline at end of file