X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fvariable%2Findex.js;h=850c5c4a2a38e7d846fd1a45d7a721cc22ca9c7f;hb=913cc995a38cf7bfbc27d325e09fc2b6ae2f632d;hp=4de9094946db49a6f82b9869e28a4d72090762ab;hpb=da8b5d32823ad8783d3c47a738f61aa66e32f99c;p=motion2.git diff --git a/server/api/variable/index.js b/server/api/variable/index.js index 4de9094..850c5c4 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 _0xe70c=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','show','create','put','/:id','update','destroy','multer','util','path'];(function(_0x4baae2,_0x487ab6){var _0x1a2285=function(_0x1cea47){while(--_0x1cea47){_0x4baae2['push'](_0x4baae2['shift']());}};_0x1a2285(++_0x487ab6);}(_0xe70c,0x1eb));var _0xce70=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xe70c[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0xce70('0x0'));var util=require(_0xce70('0x1'));var path=require(_0xce70('0x2'));var timeout=require(_0xce70('0x3'));var express=require(_0xce70('0x4'));var router=express[_0xce70('0x5')]();var auth=require(_0xce70('0x6'));var interaction=require(_0xce70('0x7'));var config=require(_0xce70('0x8'));var controller=require(_0xce70('0x9'));router[_0xce70('0xa')]('/',auth[_0xce70('0xb')](),controller[_0xce70('0xc')]);router[_0xce70('0xa')]('/:id',auth[_0xce70('0xb')](),controller[_0xce70('0xd')]);router['post']('/',auth[_0xce70('0xb')](),controller[_0xce70('0xe')]);router[_0xce70('0xf')](_0xce70('0x10'),auth[_0xce70('0xb')](),controller[_0xce70('0x11')]);router['delete'](_0xce70('0x10'),auth[_0xce70('0xb')](),controller[_0xce70('0x12')]);module['exports']=router; \ No newline at end of file +var _0x3f2a=['multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','post','create','update','delete','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3f2a,0xbb));var _0xa3f2=function(_0x399b10,_0x10df18){_0x399b10=_0x399b10-0x0;var _0x4542f2=_0x3f2a[_0x399b10];return _0x4542f2;};'use strict';var multer=require(_0xa3f2('0x0'));var util=require('util');var path=require(_0xa3f2('0x1'));var timeout=require(_0xa3f2('0x2'));var express=require('express');var router=express[_0xa3f2('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xa3f2('0x4'));var config=require(_0xa3f2('0x5'));var controller=require(_0xa3f2('0x6'));router[_0xa3f2('0x7')]('/',auth[_0xa3f2('0x8')](),controller[_0xa3f2('0x9')]);router[_0xa3f2('0x7')](_0xa3f2('0xa'),auth[_0xa3f2('0x8')](),controller[_0xa3f2('0xb')]);router[_0xa3f2('0xc')]('/',auth[_0xa3f2('0x8')](),controller[_0xa3f2('0xd')]);router['put'](_0xa3f2('0xa'),auth['isAuthenticated'](),controller[_0xa3f2('0xe')]);router[_0xa3f2('0xf')](_0xa3f2('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xa3f2('0x10')]=router; \ No newline at end of file