Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / cmCustomField / index.js
index 0d1b205..fc5806d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdac0=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','create','put','update','multer','util','connect-timeout'];(function(_0x7b39b5,_0x24375c){var _0x1e54fd=function(_0x34ec67){while(--_0x34ec67){_0x7b39b5['push'](_0x7b39b5['shift']());}};_0x1e54fd(++_0x24375c);}(_0xdac0,0x11a));var _0x0dac=function(_0x582590,_0x5ecc4e){_0x582590=_0x582590-0x0;var _0x1121ec=_0xdac0[_0x582590];return _0x1121ec;};'use strict';var multer=require(_0x0dac('0x0'));var util=require(_0x0dac('0x1'));var path=require('path');var timeout=require(_0x0dac('0x2'));var express=require('express');var router=express[_0x0dac('0x3')]();var fs_extra=require(_0x0dac('0x4'));var auth=require(_0x0dac('0x5'));var interaction=require(_0x0dac('0x6'));var config=require('../../config/environment');var controller=require('./cmCustomField.controller');router[_0x0dac('0x7')]('/',auth[_0x0dac('0x8')](),controller[_0x0dac('0x9')]);router[_0x0dac('0x7')](_0x0dac('0xa'),auth['isAuthenticated'](),controller[_0x0dac('0xb')]);router['post']('/',auth[_0x0dac('0x8')](),controller[_0x0dac('0xc')]);router[_0x0dac('0xd')]('/:id',auth[_0x0dac('0x8')](),controller[_0x0dac('0xe')]);router['delete'](_0x0dac('0xa'),auth[_0x0dac('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x6b8f=['update','delete','util','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./cmCustomField.controller','get','index','/:id','isAuthenticated','put'];(function(_0x995459,_0x46b076){var _0x4ca8ba=function(_0x1b3da0){while(--_0x1b3da0){_0x995459['push'](_0x995459['shift']());}};_0x4ca8ba(++_0x46b076);}(_0x6b8f,0x1bc));var _0xf6b8=function(_0x178552,_0x5d3758){_0x178552=_0x178552-0x0;var _0x10a611=_0x6b8f[_0x178552];return _0x10a611;};'use strict';var multer=require('multer');var util=require(_0xf6b8('0x0'));var path=require('path');var timeout=require(_0xf6b8('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xf6b8('0x2'));var auth=require(_0xf6b8('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xf6b8('0x4'));var controller=require(_0xf6b8('0x5'));router[_0xf6b8('0x6')]('/',auth['isAuthenticated'](),controller[_0xf6b8('0x7')]);router[_0xf6b8('0x6')](_0xf6b8('0x8'),auth[_0xf6b8('0x9')](),controller['show']);router['post']('/',auth[_0xf6b8('0x9')](),controller['create']);router[_0xf6b8('0xa')](_0xf6b8('0x8'),auth[_0xf6b8('0x9')](),controller[_0xf6b8('0xb')]);router[_0xf6b8('0xc')](_0xf6b8('0x8'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file