Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / trunk / index.js
index 3b4f5d6..13b4c83 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5fd1=['path','connect-timeout','express','../../components/interaction/service','../../config/environment','./trunk.controller','isAuthenticated','index','get','/:id','post','/:id/clone','create','put','delete','destroy','exports','multer'];(function(_0x4a1b3c,_0x20aa97){var _0xe314d7=function(_0x220bdf){while(--_0x220bdf){_0x4a1b3c['push'](_0x4a1b3c['shift']());}};_0xe314d7(++_0x20aa97);}(_0x5fd1,0x155));var _0x15fd=function(_0x349ae1,_0x3c5ae7){_0x349ae1=_0x349ae1-0x0;var _0x37f3d5=_0x5fd1[_0x349ae1];return _0x37f3d5;};'use strict';var multer=require(_0x15fd('0x0'));var util=require('util');var path=require(_0x15fd('0x1'));var timeout=require(_0x15fd('0x2'));var express=require(_0x15fd('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x15fd('0x4'));var config=require(_0x15fd('0x5'));var controller=require(_0x15fd('0x6'));router['get']('/',auth[_0x15fd('0x7')](),controller[_0x15fd('0x8')]);router[_0x15fd('0x9')](_0x15fd('0xa'),auth[_0x15fd('0x7')](),controller['show']);router[_0x15fd('0xb')](_0x15fd('0xc'),auth[_0x15fd('0x7')](),controller['clone']);router[_0x15fd('0xb')]('/',auth['isAuthenticated'](),controller[_0x15fd('0xd')]);router[_0x15fd('0xe')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x15fd('0xf')](_0x15fd('0xa'),auth[_0x15fd('0x7')](),controller[_0x15fd('0x10')]);module[_0x15fd('0x11')]=router;
\ No newline at end of file
+var _0x6aa7=['Router','../../components/interaction/service','../../config/environment','./trunk.controller','index','/:id','isAuthenticated','show','/:id/clone','clone','create','put','update','delete','destroy','multer','path','connect-timeout','express'];(function(_0x2b8921,_0x520482){var _0x54cda9=function(_0x20d791){while(--_0x20d791){_0x2b8921['push'](_0x2b8921['shift']());}};_0x54cda9(++_0x520482);}(_0x6aa7,0x178));var _0x76aa=function(_0x2370e0,_0x2033e6){_0x2370e0=_0x2370e0-0x0;var _0x240bf3=_0x6aa7[_0x2370e0];return _0x240bf3;};'use strict';var multer=require(_0x76aa('0x0'));var util=require('util');var path=require(_0x76aa('0x1'));var timeout=require(_0x76aa('0x2'));var express=require(_0x76aa('0x3'));var router=express[_0x76aa('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x76aa('0x5'));var config=require(_0x76aa('0x6'));var controller=require(_0x76aa('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x76aa('0x8')]);router['get'](_0x76aa('0x9'),auth[_0x76aa('0xa')](),controller[_0x76aa('0xb')]);router['post'](_0x76aa('0xc'),auth[_0x76aa('0xa')](),controller[_0x76aa('0xd')]);router['post']('/',auth[_0x76aa('0xa')](),controller[_0x76aa('0xe')]);router[_0x76aa('0xf')](_0x76aa('0x9'),auth[_0x76aa('0xa')](),controller[_0x76aa('0x10')]);router[_0x76aa('0x11')](_0x76aa('0x9'),auth[_0x76aa('0xa')](),controller[_0x76aa('0x12')]);module['exports']=router;
\ No newline at end of file