X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FdashboardItem%2Findex.js;fp=server%2Fapi%2FdashboardItem%2Findex.js;h=80674773b526fc6959208d54e54f1a96c2cd3186;hb=c5ec4f3be0e7f1f893000f685661edf16381041e;hp=31321dcd9973708d2c1fa2127a59d24f154dc0f8;hpb=bb1bc459ff51c9e3d02337b05bd35dbdea7e939d;p=motion2.git diff --git a/server/api/dashboardItem/index.js b/server/api/dashboardItem/index.js index 31321dc..8067477 100644 --- a/server/api/dashboardItem/index.js +++ b/server/api/dashboardItem/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbe2b=['isAuthenticated','post','put','update','delete','destroy','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./dashboardItem.controller','get'];(function(_0x2ac471,_0x51b49a){var _0x3e2d25=function(_0x3c4b6c){while(--_0x3c4b6c){_0x2ac471['push'](_0x2ac471['shift']());}};_0x3e2d25(++_0x51b49a);}(_0xbe2b,0x6f));var _0xbbe2=function(_0x2df9fc,_0x28ba17){_0x2df9fc=_0x2df9fc-0x0;var _0x25d4ae=_0xbe2b[_0x2df9fc];return _0x25d4ae;};'use strict';var multer=require(_0xbbe2('0x0'));var util=require(_0xbbe2('0x1'));var path=require(_0xbbe2('0x2'));var timeout=require('connect-timeout');var express=require(_0xbbe2('0x3'));var router=express['Router']();var fs_extra=require(_0xbbe2('0x4'));var auth=require(_0xbbe2('0x5'));var interaction=require(_0xbbe2('0x6'));var config=require('../../config/environment');var controller=require(_0xbbe2('0x7'));router[_0xbbe2('0x8')]('/:id',auth[_0xbbe2('0x9')](),controller['show']);router[_0xbbe2('0xa')]('/',auth[_0xbbe2('0x9')](),controller['create']);router[_0xbbe2('0xb')]('/:id',auth[_0xbbe2('0x9')](),controller[_0xbbe2('0xc')]);router[_0xbbe2('0xd')]('/:id',auth[_0xbbe2('0x9')](),controller[_0xbbe2('0xe')]);module['exports']=router; \ No newline at end of file +var _0x66e0=['exports','path','connect-timeout','fs-extra','../../components/auth/service','./dashboardItem.controller','get','show','post','isAuthenticated','create','put','/:id','update'];(function(_0x10447c,_0x520639){var _0x56da5e=function(_0x1a64c5){while(--_0x1a64c5){_0x10447c['push'](_0x10447c['shift']());}};_0x56da5e(++_0x520639);}(_0x66e0,0x143));var _0x066e=function(_0xd0603b,_0x1b7fff){_0xd0603b=_0xd0603b-0x0;var _0x56af8d=_0x66e0[_0xd0603b];return _0x56af8d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x066e('0x0'));var timeout=require(_0x066e('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x066e('0x2'));var auth=require(_0x066e('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x066e('0x4'));router[_0x066e('0x5')]('/:id',auth['isAuthenticated'](),controller[_0x066e('0x6')]);router[_0x066e('0x7')]('/',auth[_0x066e('0x8')](),controller[_0x066e('0x9')]);router[_0x066e('0xa')](_0x066e('0xb'),auth['isAuthenticated'](),controller[_0x066e('0xc')]);router['delete'](_0x066e('0xb'),auth[_0x066e('0x8')](),controller['destroy']);module[_0x066e('0xd')]=router; \ No newline at end of file