X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmCustomField%2Findex.js;fp=server%2Fapi%2FcmCustomField%2Findex.js;h=9bd3aee422085cb60c200a69b7d12306be2ce1c7;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=ba795021bff65f5c5c3c1d82b8b97853f0f1c27e;hpb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;p=motion2.git diff --git a/server/api/cmCustomField/index.js b/server/api/cmCustomField/index.js index ba79502..9bd3aee 100644 --- a/server/api/cmCustomField/index.js +++ b/server/api/cmCustomField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7d7f=['./cmCustomField.controller','index','get','/:id','isAuthenticated','show','create','update','delete','multer','util','connect-timeout','express','Router'];(function(_0x443e7b,_0x3fa5dc){var _0x5c32d3=function(_0x19a08b){while(--_0x19a08b){_0x443e7b['push'](_0x443e7b['shift']());}};_0x5c32d3(++_0x3fa5dc);}(_0x7d7f,0xa3));var _0xf7d7=function(_0x5ef4d6,_0x421fa4){_0x5ef4d6=_0x5ef4d6-0x0;var _0x1113d9=_0x7d7f[_0x5ef4d6];return _0x1113d9;};'use strict';var multer=require(_0xf7d7('0x0'));var util=require(_0xf7d7('0x1'));var path=require('path');var timeout=require(_0xf7d7('0x2'));var express=require(_0xf7d7('0x3'));var router=express[_0xf7d7('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf7d7('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xf7d7('0x6')]);router[_0xf7d7('0x7')](_0xf7d7('0x8'),auth[_0xf7d7('0x9')](),controller[_0xf7d7('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf7d7('0xb')]);router['put'](_0xf7d7('0x8'),auth[_0xf7d7('0x9')](),controller[_0xf7d7('0xc')]);router[_0xf7d7('0xd')](_0xf7d7('0x8'),auth[_0xf7d7('0x9')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x58dc=['../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCustomField.controller','get','isAuthenticated','index','post','create','put','/:id','delete','exports','multer','util','connect-timeout','express','Router'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x58dc,0x199));var _0xc58d=function(_0x3d876d,_0x480789){_0x3d876d=_0x3d876d-0x0;var _0x452332=_0x58dc[_0x3d876d];return _0x452332;};'use strict';var multer=require(_0xc58d('0x0'));var util=require(_0xc58d('0x1'));var path=require('path');var timeout=require(_0xc58d('0x2'));var express=require(_0xc58d('0x3'));var router=express[_0xc58d('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xc58d('0x5'));var interaction=require(_0xc58d('0x6'));var config=require(_0xc58d('0x7'));var controller=require(_0xc58d('0x8'));router[_0xc58d('0x9')]('/',auth[_0xc58d('0xa')](),controller[_0xc58d('0xb')]);router[_0xc58d('0x9')]('/:id',auth[_0xc58d('0xa')](),controller['show']);router[_0xc58d('0xc')]('/',auth[_0xc58d('0xa')](),controller[_0xc58d('0xd')]);router[_0xc58d('0xe')](_0xc58d('0xf'),auth['isAuthenticated'](),controller['update']);router[_0xc58d('0x10')]('/:id',auth[_0xc58d('0xa')](),controller['destroy']);module[_0xc58d('0x11')]=router; \ No newline at end of file