Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / cmCustomField / index.js
index 0d1b205..b996f5d 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 _0xd7ce=['post','create','put','update','delete','destroy','multer','util','path','connect-timeout','fs-extra','./cmCustomField.controller','get','isAuthenticated','index','/:id','show'];(function(_0x293ec7,_0x541d46){var _0x4d6759=function(_0x11778a){while(--_0x11778a){_0x293ec7['push'](_0x293ec7['shift']());}};_0x4d6759(++_0x541d46);}(_0xd7ce,0x16b));var _0xed7c=function(_0x377a6e,_0x59b99d){_0x377a6e=_0x377a6e-0x0;var _0x37f751=_0xd7ce[_0x377a6e];return _0x37f751;};'use strict';var multer=require(_0xed7c('0x0'));var util=require(_0xed7c('0x1'));var path=require(_0xed7c('0x2'));var timeout=require(_0xed7c('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xed7c('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xed7c('0x5'));router[_0xed7c('0x6')]('/',auth[_0xed7c('0x7')](),controller[_0xed7c('0x8')]);router[_0xed7c('0x6')](_0xed7c('0x9'),auth[_0xed7c('0x7')](),controller[_0xed7c('0xa')]);router[_0xed7c('0xb')]('/',auth[_0xed7c('0x7')](),controller[_0xed7c('0xc')]);router[_0xed7c('0xd')]('/:id',auth[_0xed7c('0x7')](),controller[_0xed7c('0xe')]);router[_0xed7c('0xf')](_0xed7c('0x9'),auth[_0xed7c('0x7')](),controller[_0xed7c('0x10')]);module['exports']=router;
\ No newline at end of file