Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / trunk / index.js
index d798284..3902397 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x173a=['path','connect-timeout','express','Router','../../components/auth/service','./trunk.controller','get','isAuthenticated','index','/:id','show','post','clone','create','put','delete','destroy','exports','multer','util'];(function(_0x4982d0,_0xb4d9e){var _0x340453=function(_0x38f55d){while(--_0x38f55d){_0x4982d0['push'](_0x4982d0['shift']());}};_0x340453(++_0xb4d9e);}(_0x173a,0x9e));var _0xa173=function(_0x3c19f8,_0x185f65){_0x3c19f8=_0x3c19f8-0x0;var _0x4ffc54=_0x173a[_0x3c19f8];return _0x4ffc54;};'use strict';var multer=require(_0xa173('0x0'));var util=require(_0xa173('0x1'));var path=require(_0xa173('0x2'));var timeout=require(_0xa173('0x3'));var express=require(_0xa173('0x4'));var router=express[_0xa173('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xa173('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa173('0x7'));router[_0xa173('0x8')]('/',auth[_0xa173('0x9')](),controller[_0xa173('0xa')]);router[_0xa173('0x8')](_0xa173('0xb'),auth['isAuthenticated'](),controller[_0xa173('0xc')]);router[_0xa173('0xd')]('/:id/clone',auth['isAuthenticated'](),controller[_0xa173('0xe')]);router[_0xa173('0xd')]('/',auth[_0xa173('0x9')](),controller[_0xa173('0xf')]);router[_0xa173('0x10')](_0xa173('0xb'),auth[_0xa173('0x9')](),controller['update']);router[_0xa173('0x11')](_0xa173('0xb'),auth[_0xa173('0x9')](),controller[_0xa173('0x12')]);module[_0xa173('0x13')]=router;
\ No newline at end of file
+var _0x2f89=['../../components/auth/service','get','isAuthenticated','index','/:id','show','post','/:id/clone','clone','create','put','update','delete','exports','multer','connect-timeout','express','Router','fs-extra'];(function(_0x429023,_0x2cfa52){var _0xfa7356=function(_0x146760){while(--_0x146760){_0x429023['push'](_0x429023['shift']());}};_0xfa7356(++_0x2cfa52);}(_0x2f89,0x1b0));var _0x92f8=function(_0x400789,_0x223ded){_0x400789=_0x400789-0x0;var _0x2f4c60=_0x2f89[_0x400789];return _0x2f4c60;};'use strict';var multer=require(_0x92f8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x92f8('0x1'));var express=require(_0x92f8('0x2'));var router=express[_0x92f8('0x3')]();var fs_extra=require(_0x92f8('0x4'));var auth=require(_0x92f8('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./trunk.controller');router[_0x92f8('0x6')]('/',auth[_0x92f8('0x7')](),controller[_0x92f8('0x8')]);router[_0x92f8('0x6')](_0x92f8('0x9'),auth['isAuthenticated'](),controller[_0x92f8('0xa')]);router[_0x92f8('0xb')](_0x92f8('0xc'),auth[_0x92f8('0x7')](),controller[_0x92f8('0xd')]);router[_0x92f8('0xb')]('/',auth['isAuthenticated'](),controller[_0x92f8('0xe')]);router[_0x92f8('0xf')](_0x92f8('0x9'),auth[_0x92f8('0x7')](),controller[_0x92f8('0x10')]);router[_0x92f8('0x11')](_0x92f8('0x9'),auth[_0x92f8('0x7')](),controller['destroy']);module[_0x92f8('0x12')]=router;
\ No newline at end of file