X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fvariable%2Findex.js;h=a5f1b1e9477269a3c05b6e7c4fc2f902bba17145;hb=de6f27d8824ffb29cbf937050a12378469af9a53;hp=a77ae141826492f624be035cb958836b8ce35e2d;hpb=6154c6759c55056c3b23ea2e885ab9e551bbdf0c;p=motion2.git diff --git a/server/api/variable/index.js b/server/api/variable/index.js index a77ae14..a5f1b1e 100644 --- a/server/api/variable/index.js +++ b/server/api/variable/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6986=['put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','create'];(function(_0x7148a3,_0x1c6652){var _0x52f31d=function(_0x31c8a7){while(--_0x31c8a7){_0x7148a3['push'](_0x7148a3['shift']());}};_0x52f31d(++_0x1c6652);}(_0x6986,0x148));var _0x6698=function(_0x179c4a,_0x10eb06){_0x179c4a=_0x179c4a-0x0;var _0x5d1879=_0x6986[_0x179c4a];return _0x5d1879;};'use strict';var multer=require(_0x6698('0x0'));var util=require(_0x6698('0x1'));var path=require('path');var timeout=require(_0x6698('0x2'));var express=require(_0x6698('0x3'));var router=express[_0x6698('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x6698('0x5'));var config=require(_0x6698('0x6'));var controller=require(_0x6698('0x7'));router[_0x6698('0x8')]('/',auth[_0x6698('0x9')](),controller[_0x6698('0xa')]);router[_0x6698('0x8')](_0x6698('0xb'),auth['isAuthenticated'](),controller[_0x6698('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6698('0xd')]);router[_0x6698('0xe')](_0x6698('0xb'),auth[_0x6698('0x9')](),controller[_0x6698('0xf')]);router[_0x6698('0x10')](_0x6698('0xb'),auth[_0x6698('0x9')](),controller[_0x6698('0x11')]);module[_0x6698('0x12')]=router; \ No newline at end of file +var _0x6891=['delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./variable.controller','get','isAuthenticated','/:id','show','put','update'];(function(_0x2823ac,_0x598d44){var _0x2ae033=function(_0x2bbf25){while(--_0x2bbf25){_0x2823ac['push'](_0x2823ac['shift']());}};_0x2ae033(++_0x598d44);}(_0x6891,0x122));var _0x1689=function(_0x4d0d85,_0x3250d3){_0x4d0d85=_0x4d0d85-0x0;var _0x290a74=_0x6891[_0x4d0d85];return _0x290a74;};'use strict';var multer=require(_0x1689('0x0'));var util=require('util');var path=require(_0x1689('0x1'));var timeout=require(_0x1689('0x2'));var express=require(_0x1689('0x3'));var router=express[_0x1689('0x4')]();var auth=require(_0x1689('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1689('0x6'));var controller=require(_0x1689('0x7'));router[_0x1689('0x8')]('/',auth[_0x1689('0x9')](),controller['index']);router[_0x1689('0x8')](_0x1689('0xa'),auth[_0x1689('0x9')](),controller[_0x1689('0xb')]);router['post']('/',auth[_0x1689('0x9')](),controller['create']);router[_0x1689('0xc')](_0x1689('0xa'),auth[_0x1689('0x9')](),controller[_0x1689('0xd')]);router[_0x1689('0xe')](_0x1689('0xa'),auth[_0x1689('0x9')](),controller[_0x1689('0xf')]);module['exports']=router; \ No newline at end of file