Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / variable / index.js
index 3a2de6e..63bfe1a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcb81=['connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get','index','isAuthenticated','show','post','create','update','delete','/:id','destroy','exports','multer','util'];(function(_0x40b944,_0x112d71){var _0x34a3f2=function(_0xd3f18b){while(--_0xd3f18b){_0x40b944['push'](_0x40b944['shift']());}};_0x34a3f2(++_0x112d71);}(_0xcb81,0x154));var _0x1cb8=function(_0x154cb5,_0x1a8d5a){_0x154cb5=_0x154cb5-0x0;var _0x3f574f=_0xcb81[_0x154cb5];return _0x3f574f;};'use strict';var multer=require(_0x1cb8('0x0'));var util=require(_0x1cb8('0x1'));var path=require('path');var timeout=require(_0x1cb8('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1cb8('0x3'));var interaction=require(_0x1cb8('0x4'));var config=require(_0x1cb8('0x5'));var controller=require(_0x1cb8('0x6'));router[_0x1cb8('0x7')]('/',auth['isAuthenticated'](),controller[_0x1cb8('0x8')]);router[_0x1cb8('0x7')]('/:id',auth[_0x1cb8('0x9')](),controller[_0x1cb8('0xa')]);router[_0x1cb8('0xb')]('/',auth['isAuthenticated'](),controller[_0x1cb8('0xc')]);router['put']('/:id',auth[_0x1cb8('0x9')](),controller[_0x1cb8('0xd')]);router[_0x1cb8('0xe')](_0x1cb8('0xf'),auth[_0x1cb8('0x9')](),controller[_0x1cb8('0x10')]);module[_0x1cb8('0x11')]=router;
\ No newline at end of file
+var _0x22fb=['./variable.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x677920,_0x1e3e6a){var _0x1c593b=function(_0x22e305){while(--_0x22e305){_0x677920['push'](_0x677920['shift']());}};_0x1c593b(++_0x1e3e6a);}(_0x22fb,0x192));var _0xb22f=function(_0x15aa87,_0x2c1a14){_0x15aa87=_0x15aa87-0x0;var _0x54c49f=_0x22fb[_0x15aa87];return _0x54c49f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb22f('0x0'));var timeout=require('connect-timeout');var express=require(_0xb22f('0x1'));var router=express[_0xb22f('0x2')]();var fs_extra=require(_0xb22f('0x3'));var auth=require(_0xb22f('0x4'));var interaction=require(_0xb22f('0x5'));var config=require('../../config/environment');var controller=require(_0xb22f('0x6'));router[_0xb22f('0x7')]('/',auth[_0xb22f('0x8')](),controller[_0xb22f('0x9')]);router[_0xb22f('0x7')](_0xb22f('0xa'),auth['isAuthenticated'](),controller[_0xb22f('0xb')]);router[_0xb22f('0xc')]('/',auth[_0xb22f('0x8')](),controller[_0xb22f('0xd')]);router[_0xb22f('0xe')](_0xb22f('0xa'),auth[_0xb22f('0x8')](),controller[_0xb22f('0xf')]);router[_0xb22f('0x10')](_0xb22f('0xa'),auth[_0xb22f('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file