X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmHopperHistory%2Findex.js;h=f3fff7448245b08b1c52663254979a1c9bb874b1;hb=01b994ccefecbcf0783b039dab259e973f97957c;hp=c6d977f74e6a99ca627c189e233c6b56560e6117;hpb=ff1c11e14fca8d30ba993bf9ad292fb70d9b0b0b;p=motion2.git diff --git a/server/api/cmHopperHistory/index.js b/server/api/cmHopperHistory/index.js index c6d977f..f3fff74 100644 --- a/server/api/cmHopperHistory/index.js +++ b/server/api/cmHopperHistory/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa5f4=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','describe','show','post','/:id','exports','path','connect-timeout','express','Router'];(function(_0x4d67de,_0x270659){var _0x315f60=function(_0x5ad571){while(--_0x5ad571){_0x4d67de['push'](_0x4d67de['shift']());}};_0x315f60(++_0x270659);}(_0xa5f4,0x16c));var _0x4a5f=function(_0x111b72,_0x1b9284){_0x111b72=_0x111b72-0x0;var _0x52d312=_0xa5f4[_0x111b72];return _0x52d312;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4a5f('0x0'));var timeout=require(_0x4a5f('0x1'));var express=require(_0x4a5f('0x2'));var router=express[_0x4a5f('0x3')]();var fs_extra=require(_0x4a5f('0x4'));var auth=require(_0x4a5f('0x5'));var interaction=require(_0x4a5f('0x6'));var config=require(_0x4a5f('0x7'));var controller=require(_0x4a5f('0x8'));router[_0x4a5f('0x9')]('/',auth[_0x4a5f('0xa')](),controller['index']);router[_0x4a5f('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x4a5f('0xb')]);router[_0x4a5f('0x9')]('/:id',auth[_0x4a5f('0xa')](),controller[_0x4a5f('0xc')]);router[_0x4a5f('0xd')]('/',auth[_0x4a5f('0xa')](),controller['create']);router['put'](_0x4a5f('0xe'),auth[_0x4a5f('0xa')](),controller['update']);module[_0x4a5f('0xf')]=router; \ No newline at end of file +var _0x475b=['show','create','put','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x1434e7,_0x231cb9){var _0x2e4cec=function(_0x3bbaaa){while(--_0x3bbaaa){_0x1434e7['push'](_0x1434e7['shift']());}};_0x2e4cec(++_0x231cb9);}(_0x475b,0x1cd));var _0xb475=function(_0x15f449,_0x2f1388){_0x15f449=_0x15f449-0x0;var _0x517ab6=_0x475b[_0x15f449];return _0x517ab6;};'use strict';var multer=require(_0xb475('0x0'));var util=require(_0xb475('0x1'));var path=require(_0xb475('0x2'));var timeout=require(_0xb475('0x3'));var express=require(_0xb475('0x4'));var router=express[_0xb475('0x5')]();var fs_extra=require(_0xb475('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xb475('0x7'));var config=require('../../config/environment');var controller=require('./cmHopperHistory.controller');router[_0xb475('0x8')]('/',auth[_0xb475('0x9')](),controller[_0xb475('0xa')]);router[_0xb475('0x8')](_0xb475('0xb'),auth[_0xb475('0x9')](),controller[_0xb475('0xc')]);router[_0xb475('0x8')](_0xb475('0xd'),auth[_0xb475('0x9')](),controller[_0xb475('0xe')]);router['post']('/',auth[_0xb475('0x9')](),controller[_0xb475('0xf')]);router[_0xb475('0x10')](_0xb475('0xd'),auth[_0xb475('0x9')](),controller[_0xb475('0x11')]);module[_0xb475('0x12')]=router; \ No newline at end of file