Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / cmCustomField / index.js
index 32288ba..eaa35e2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x60c2=['express','Router','../../components/auth/service','../../config/environment','./cmCustomField.controller','get','index','/:id','show','post','create','put','isAuthenticated','delete','destroy','exports','util','path','connect-timeout'];(function(_0x209ec9,_0x30378c){var _0x129b1b=function(_0x2f2b9e){while(--_0x2f2b9e){_0x209ec9['push'](_0x209ec9['shift']());}};_0x129b1b(++_0x30378c);}(_0x60c2,0xce));var _0x260c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x60c2[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0x260c('0x0'));var path=require(_0x260c('0x1'));var timeout=require(_0x260c('0x2'));var express=require(_0x260c('0x3'));var router=express[_0x260c('0x4')]();var auth=require(_0x260c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x260c('0x6'));var controller=require(_0x260c('0x7'));router[_0x260c('0x8')]('/',auth['isAuthenticated'](),controller[_0x260c('0x9')]);router[_0x260c('0x8')](_0x260c('0xa'),auth['isAuthenticated'](),controller[_0x260c('0xb')]);router[_0x260c('0xc')]('/',auth['isAuthenticated'](),controller[_0x260c('0xd')]);router[_0x260c('0xe')](_0x260c('0xa'),auth[_0x260c('0xf')](),controller['update']);router[_0x260c('0x10')](_0x260c('0xa'),auth[_0x260c('0xf')](),controller[_0x260c('0x11')]);module[_0x260c('0x12')]=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