Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / trunk / index.js
index a0c3c8e..69246c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x4bc3=['post','/:id/clone','clone','update','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id'];(function(_0x3828a9,_0x1147c1){var _0xe7ef37=function(_0x59419e){while(--_0x59419e){_0x3828a9['push'](_0x3828a9['shift']());}};_0xe7ef37(++_0x1147c1);}(_0x4bc3,0x16e));var _0x34bc=function(_0x2283dc,_0x2fcfc5){_0x2283dc=_0x2283dc-0x0;var _0x16db90=_0x4bc3[_0x2283dc];return _0x16db90;};'use strict';var multer=require(_0x34bc('0x0'));var util=require(_0x34bc('0x1'));var path=require('path');var timeout=require(_0x34bc('0x2'));var express=require(_0x34bc('0x3'));var router=express['Router']();var auth=require(_0x34bc('0x4'));var interaction=require(_0x34bc('0x5'));var config=require(_0x34bc('0x6'));var controller=require(_0x34bc('0x7'));router[_0x34bc('0x8')]('/',auth[_0x34bc('0x9')](),controller[_0x34bc('0xa')]);router['get'](_0x34bc('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x34bc('0xc')](_0x34bc('0xd'),auth[_0x34bc('0x9')](),controller[_0x34bc('0xe')]);router[_0x34bc('0xc')]('/',auth[_0x34bc('0x9')](),controller['create']);router['put'](_0x34bc('0xb'),auth[_0x34bc('0x9')](),controller[_0x34bc('0xf')]);router['delete'](_0x34bc('0xb'),auth['isAuthenticated'](),controller[_0x34bc('0x10')]);module[_0x34bc('0x11')]=router;
\ No newline at end of file