Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / trunk / index.js
index 73f1e22..e473d63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x24ca=['put','update','delete','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id','show','/:id/clone','clone','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x24ca,0x1bc));var _0xa24c=function(_0x30cd7e,_0x4db10a){_0x30cd7e=_0x30cd7e-0x0;var _0x462a02=_0x24ca[_0x30cd7e];return _0x462a02;};'use strict';var multer=require(_0xa24c('0x0'));var util=require('util');var path=require(_0xa24c('0x1'));var timeout=require(_0xa24c('0x2'));var express=require(_0xa24c('0x3'));var router=express['Router']();var auth=require(_0xa24c('0x4'));var interaction=require(_0xa24c('0x5'));var config=require(_0xa24c('0x6'));var controller=require(_0xa24c('0x7'));router[_0xa24c('0x8')]('/',auth[_0xa24c('0x9')](),controller[_0xa24c('0xa')]);router[_0xa24c('0x8')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller[_0xa24c('0xc')]);router['post'](_0xa24c('0xd'),auth[_0xa24c('0x9')](),controller[_0xa24c('0xe')]);router['post']('/',auth[_0xa24c('0x9')](),controller[_0xa24c('0xf')]);router[_0xa24c('0x10')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller[_0xa24c('0x11')]);router[_0xa24c('0x12')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller['destroy']);module[_0xa24c('0x13')]=router;
\ No newline at end of file
+var _0xe7cd=['../../components/auth/service','../../components/interaction/service','./trunk.controller','get','/:id','isAuthenticated','post','/:id/clone','create','put','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra'];(function(_0x471273,_0x216ce4){var _0x4a318c=function(_0x61d51b){while(--_0x61d51b){_0x471273['push'](_0x471273['shift']());}};_0x4a318c(++_0x216ce4);}(_0xe7cd,0x66));var _0xde7c=function(_0x3e29d4,_0x244d75){_0x3e29d4=_0x3e29d4-0x0;var _0x2baae6=_0xe7cd[_0x3e29d4];return _0x2baae6;};'use strict';var multer=require(_0xde7c('0x0'));var util=require('util');var path=require(_0xde7c('0x1'));var timeout=require(_0xde7c('0x2'));var express=require(_0xde7c('0x3'));var router=express[_0xde7c('0x4')]();var fs_extra=require(_0xde7c('0x5'));var auth=require(_0xde7c('0x6'));var interaction=require(_0xde7c('0x7'));var config=require('../../config/environment');var controller=require(_0xde7c('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xde7c('0x9')](_0xde7c('0xa'),auth[_0xde7c('0xb')](),controller['show']);router[_0xde7c('0xc')](_0xde7c('0xd'),auth[_0xde7c('0xb')](),controller['clone']);router[_0xde7c('0xc')]('/',auth['isAuthenticated'](),controller[_0xde7c('0xe')]);router[_0xde7c('0xf')](_0xde7c('0xa'),auth[_0xde7c('0xb')](),controller['update']);router['delete'](_0xde7c('0xa'),auth[_0xde7c('0xb')](),controller[_0xde7c('0x10')]);module[_0xde7c('0x11')]=router;
\ No newline at end of file