X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fvariable%2Findex.js;h=ffa09413f5ea6f61b190d60bef05b45bf6c19a5d;hb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;hp=507602e578c2ac704bff874c37bb1be87d247998;hpb=fb34d7d7b73e912de94d572e15e1910ea03e3516;p=motion2.git diff --git a/server/api/variable/index.js b/server/api/variable/index.js index 507602e..ffa0941 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 _0xbd50=['get','/:id','create','put','update','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','index'];(function(_0x1cdfcd,_0x37be5f){var _0x274b60=function(_0x34f017){while(--_0x34f017){_0x1cdfcd['push'](_0x1cdfcd['shift']());}};_0x274b60(++_0x37be5f);}(_0xbd50,0x196));var _0x0bd5=function(_0x42bcbd,_0x4b88f9){_0x42bcbd=_0x42bcbd-0x0;var _0x483e5d=_0xbd50[_0x42bcbd];return _0x483e5d;};'use strict';var multer=require(_0x0bd5('0x0'));var util=require(_0x0bd5('0x1'));var path=require(_0x0bd5('0x2'));var timeout=require('connect-timeout');var express=require(_0x0bd5('0x3'));var router=express[_0x0bd5('0x4')]();var fs_extra=require(_0x0bd5('0x5'));var auth=require(_0x0bd5('0x6'));var interaction=require(_0x0bd5('0x7'));var config=require('../../config/environment');var controller=require('./variable.controller');router['get']('/',auth[_0x0bd5('0x8')](),controller[_0x0bd5('0x9')]);router[_0x0bd5('0xa')](_0x0bd5('0xb'),auth[_0x0bd5('0x8')](),controller['show']);router['post']('/',auth[_0x0bd5('0x8')](),controller[_0x0bd5('0xc')]);router[_0x0bd5('0xd')]('/:id',auth[_0x0bd5('0x8')](),controller[_0x0bd5('0xe')]);router['delete'](_0x0bd5('0xb'),auth[_0x0bd5('0x8')](),controller['destroy']);module[_0x0bd5('0xf')]=router; \ No newline at end of file +var _0x207d=['util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./variable.controller','get','isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer'];(function(_0x4d6d82,_0x29ee30){var _0x11212c=function(_0x3b16ad){while(--_0x3b16ad){_0x4d6d82['push'](_0x4d6d82['shift']());}};_0x11212c(++_0x29ee30);}(_0x207d,0x10d));var _0xd207=function(_0x16bd24,_0x32436e){_0x16bd24=_0x16bd24-0x0;var _0x1b5572=_0x207d[_0x16bd24];return _0x1b5572;};'use strict';var multer=require(_0xd207('0x0'));var util=require(_0xd207('0x1'));var path=require(_0xd207('0x2'));var timeout=require(_0xd207('0x3'));var express=require('express');var router=express[_0xd207('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd207('0x5'));var interaction=require(_0xd207('0x6'));var config=require('../../config/environment');var controller=require(_0xd207('0x7'));router[_0xd207('0x8')]('/',auth[_0xd207('0x9')](),controller[_0xd207('0xa')]);router[_0xd207('0x8')](_0xd207('0xb'),auth[_0xd207('0x9')](),controller[_0xd207('0xc')]);router[_0xd207('0xd')]('/',auth[_0xd207('0x9')](),controller[_0xd207('0xe')]);router['put'](_0xd207('0xb'),auth[_0xd207('0x9')](),controller[_0xd207('0xf')]);router['delete']('/:id',auth[_0xd207('0x9')](),controller[_0xd207('0x10')]);module[_0xd207('0x11')]=router; \ No newline at end of file