X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fvariable%2Findex.js;h=54a5d02ebed0bf36c3cefed3b484e925d81ca71a;hb=ed368fdfe923471c0749d5720e7df57649e4ed09;hp=d944f4ac83bde5b66f67d1ba667184abad7026ad;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/variable/index.js b/server/api/variable/index.js index d944f4a..54a5d02 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 _0x3937=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','create','put','update','exports','multer'];(function(_0x14903d,_0x296126){var _0x5005e1=function(_0x2a4eed){while(--_0x2a4eed){_0x14903d['push'](_0x14903d['shift']());}};_0x5005e1(++_0x296126);}(_0x3937,0xbf));var _0x7393=function(_0x191253,_0x16b7a9){_0x191253=_0x191253-0x0;var _0x12b5cc=_0x3937[_0x191253];return _0x12b5cc;};'use strict';var multer=require(_0x7393('0x0'));var util=require('util');var path=require(_0x7393('0x1'));var timeout=require(_0x7393('0x2'));var express=require('express');var router=express[_0x7393('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7393('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x7393('0x5'));var controller=require(_0x7393('0x6'));router[_0x7393('0x7')]('/',auth[_0x7393('0x8')](),controller[_0x7393('0x9')]);router[_0x7393('0x7')](_0x7393('0xa'),auth[_0x7393('0x8')](),controller[_0x7393('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7393('0xc')]);router[_0x7393('0xd')](_0x7393('0xa'),auth['isAuthenticated'](),controller[_0x7393('0xe')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x7393('0xf')]=router; \ No newline at end of file +var _0xe94a=['post','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x5d3250,_0x3c5039){var _0x2fb300=function(_0x5d1b44){while(--_0x5d1b44){_0x5d3250['push'](_0x5d3250['shift']());}};_0x2fb300(++_0x3c5039);}(_0xe94a,0x1c7));var _0xae94=function(_0x21d36e,_0x5dc096){_0x21d36e=_0x21d36e-0x0;var _0x4cc307=_0xe94a[_0x21d36e];return _0x4cc307;};'use strict';var multer=require(_0xae94('0x0'));var util=require(_0xae94('0x1'));var path=require(_0xae94('0x2'));var timeout=require('connect-timeout');var express=require(_0xae94('0x3'));var router=express[_0xae94('0x4')]();var fs_extra=require(_0xae94('0x5'));var auth=require(_0xae94('0x6'));var interaction=require(_0xae94('0x7'));var config=require(_0xae94('0x8'));var controller=require('./variable.controller');router[_0xae94('0x9')]('/',auth[_0xae94('0xa')](),controller[_0xae94('0xb')]);router[_0xae94('0x9')](_0xae94('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xae94('0xd')]('/',auth[_0xae94('0xa')](),controller['create']);router[_0xae94('0xe')](_0xae94('0xc'),auth[_0xae94('0xa')](),controller[_0xae94('0xf')]);router[_0xae94('0x10')](_0xae94('0xc'),auth[_0xae94('0xa')](),controller[_0xae94('0x11')]);module['exports']=router; \ No newline at end of file