Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / trunk / index.js
index db48c99..3902397 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8a20=['get','show','post','/:id/clone','isAuthenticated','clone','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./trunk.controller'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x8a20,0xb4));var _0x08a2=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x8a20[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0x08a2('0x0'));var util=require(_0x08a2('0x1'));var path=require(_0x08a2('0x2'));var timeout=require(_0x08a2('0x3'));var express=require(_0x08a2('0x4'));var router=express[_0x08a2('0x5')]();var fs_extra=require(_0x08a2('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x08a2('0x7'));var config=require('../../config/environment');var controller=require(_0x08a2('0x8'));router[_0x08a2('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x08a2('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x08a2('0xa')]);router[_0x08a2('0xb')](_0x08a2('0xc'),auth[_0x08a2('0xd')](),controller[_0x08a2('0xe')]);router['post']('/',auth[_0x08a2('0xd')](),controller[_0x08a2('0xf')]);router[_0x08a2('0x10')](_0x08a2('0x11'),auth[_0x08a2('0xd')](),controller[_0x08a2('0x12')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x08a2('0x13')]);module[_0x08a2('0x14')]=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