Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / cmCustomField / index.js
index 511bb38..eaa35e2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd6c9=['isAuthenticated','index','/:id','show','post','create','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','./cmCustomField.controller','get'];(function(_0x2a1049,_0x4844f7){var _0x59054a=function(_0x4c42db){while(--_0x4c42db){_0x2a1049['push'](_0x2a1049['shift']());}};_0x59054a(++_0x4844f7);}(_0xd6c9,0xa2));var _0x9d6c=function(_0x40ba7c,_0x3622f5){_0x40ba7c=_0x40ba7c-0x0;var _0x59b6b6=_0xd6c9[_0x40ba7c];return _0x59b6b6;};'use strict';var multer=require(_0x9d6c('0x0'));var util=require(_0x9d6c('0x1'));var path=require('path');var timeout=require(_0x9d6c('0x2'));var express=require(_0x9d6c('0x3'));var router=express[_0x9d6c('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x9d6c('0x5'));var config=require('../../config/environment');var controller=require(_0x9d6c('0x6'));router[_0x9d6c('0x7')]('/',auth[_0x9d6c('0x8')](),controller[_0x9d6c('0x9')]);router[_0x9d6c('0x7')](_0x9d6c('0xa'),auth['isAuthenticated'](),controller[_0x9d6c('0xb')]);router[_0x9d6c('0xc')]('/',auth['isAuthenticated'](),controller[_0x9d6c('0xd')]);router['put']('/:id',auth[_0x9d6c('0x8')](),controller[_0x9d6c('0xe')]);router[_0x9d6c('0xf')](_0x9d6c('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0x9d6c('0x10')]=router;
\ No newline at end of file
+var _0xc73a=['./cmCustomField.controller','get','isAuthenticated','/:id','show','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x1b5949,_0x308670){var _0x177a76=function(_0x512ef8){while(--_0x512ef8){_0x1b5949['push'](_0x1b5949['shift']());}};_0x177a76(++_0x308670);}(_0xc73a,0x72));var _0xac73=function(_0x18cde4,_0x3afd2b){_0x18cde4=_0x18cde4-0x0;var _0x20f029=_0xc73a[_0x18cde4];return _0x20f029;};'use strict';var multer=require('multer');var util=require(_0xac73('0x0'));var path=require(_0xac73('0x1'));var timeout=require(_0xac73('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xac73('0x3'));var auth=require(_0xac73('0x4'));var interaction=require(_0xac73('0x5'));var config=require('../../config/environment');var controller=require(_0xac73('0x6'));router[_0xac73('0x7')]('/',auth[_0xac73('0x8')](),controller['index']);router[_0xac73('0x7')](_0xac73('0x9'),auth[_0xac73('0x8')](),controller[_0xac73('0xa')]);router['post']('/',auth[_0xac73('0x8')](),controller['create']);router['put'](_0xac73('0x9'),auth[_0xac73('0x8')](),controller[_0xac73('0xb')]);router[_0xac73('0xc')](_0xac73('0x9'),auth[_0xac73('0x8')](),controller[_0xac73('0xd')]);module[_0xac73('0xe')]=router;
\ No newline at end of file