Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / trunk / index.js
index c17874c..a0c3c8e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac9d=['update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./trunk.controller','isAuthenticated','index','get','/:id','show','/:id/clone','clone','post','create','put'];(function(_0x3070dc,_0x40cf11){var _0x431489=function(_0x49bc2a){while(--_0x49bc2a){_0x3070dc['push'](_0x3070dc['shift']());}};_0x431489(++_0x40cf11);}(_0xac9d,0x14d));var _0xdac9=function(_0x3eff21,_0x5bf36c){_0x3eff21=_0x3eff21-0x0;var _0x1945bb=_0xac9d[_0x3eff21];return _0x1945bb;};'use strict';var multer=require(_0xdac9('0x0'));var util=require(_0xdac9('0x1'));var path=require(_0xdac9('0x2'));var timeout=require(_0xdac9('0x3'));var express=require(_0xdac9('0x4'));var router=express[_0xdac9('0x5')]();var auth=require(_0xdac9('0x6'));var interaction=require(_0xdac9('0x7'));var config=require('../../config/environment');var controller=require(_0xdac9('0x8'));router['get']('/',auth[_0xdac9('0x9')](),controller[_0xdac9('0xa')]);router[_0xdac9('0xb')](_0xdac9('0xc'),auth[_0xdac9('0x9')](),controller[_0xdac9('0xd')]);router['post'](_0xdac9('0xe'),auth['isAuthenticated'](),controller[_0xdac9('0xf')]);router[_0xdac9('0x10')]('/',auth[_0xdac9('0x9')](),controller[_0xdac9('0x11')]);router[_0xdac9('0x12')](_0xdac9('0xc'),auth[_0xdac9('0x9')](),controller[_0xdac9('0x13')]);router[_0xdac9('0x14')]('/:id',auth[_0xdac9('0x9')](),controller[_0xdac9('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x84ab=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./trunk.controller','get','isAuthenticated','post','/:id/clone','clone','create','put','delete','/:id','destroy','exports','multer'];(function(_0x2f32c4,_0x531dc6){var _0x3f3018=function(_0x406998){while(--_0x406998){_0x2f32c4['push'](_0x2f32c4['shift']());}};_0x3f3018(++_0x531dc6);}(_0x84ab,0x12f));var _0xb84a=function(_0x43b08,_0x15f967){_0x43b08=_0x43b08-0x0;var _0x5e05f4=_0x84ab[_0x43b08];return _0x5e05f4;};'use strict';var multer=require(_0xb84a('0x0'));var util=require(_0xb84a('0x1'));var path=require(_0xb84a('0x2'));var timeout=require(_0xb84a('0x3'));var express=require(_0xb84a('0x4'));var router=express['Router']();var auth=require(_0xb84a('0x5'));var interaction=require(_0xb84a('0x6'));var config=require('../../config/environment');var controller=require(_0xb84a('0x7'));router[_0xb84a('0x8')]('/',auth[_0xb84a('0x9')](),controller['index']);router['get']('/:id',auth[_0xb84a('0x9')](),controller['show']);router[_0xb84a('0xa')](_0xb84a('0xb'),auth['isAuthenticated'](),controller[_0xb84a('0xc')]);router['post']('/',auth[_0xb84a('0x9')](),controller[_0xb84a('0xd')]);router[_0xb84a('0xe')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xb84a('0xf')](_0xb84a('0x10'),auth[_0xb84a('0x9')](),controller[_0xb84a('0x11')]);module[_0xb84a('0x12')]=router;
\ No newline at end of file