Built motion from commit (unavailable).|2.5.24
[motion2.git] / server / api / trunk / index.js
index 1dd4d2d..9e76ee7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf2ca=['exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','isAuthenticated','index','get','/:id','show','post','create','put','destroy'];(function(_0x35fd9c,_0x1610a2){var _0x5e17dd=function(_0x11ae08){while(--_0x11ae08){_0x35fd9c['push'](_0x35fd9c['shift']());}};_0x5e17dd(++_0x1610a2);}(_0xf2ca,0x16a));var _0xaf2c=function(_0x4fd82a,_0x29d9d5){_0x4fd82a=_0x4fd82a-0x0;var _0x21d2a8=_0xf2ca[_0x4fd82a];return _0x21d2a8;};'use strict';var multer=require(_0xaf2c('0x0'));var util=require(_0xaf2c('0x1'));var path=require(_0xaf2c('0x2'));var timeout=require('connect-timeout');var express=require(_0xaf2c('0x3'));var router=express[_0xaf2c('0x4')]();var auth=require(_0xaf2c('0x5'));var interaction=require(_0xaf2c('0x6'));var config=require(_0xaf2c('0x7'));var controller=require(_0xaf2c('0x8'));router['get']('/',auth[_0xaf2c('0x9')](),controller[_0xaf2c('0xa')]);router[_0xaf2c('0xb')](_0xaf2c('0xc'),auth['isAuthenticated'](),controller[_0xaf2c('0xd')]);router[_0xaf2c('0xe')]('/:id/clone',auth[_0xaf2c('0x9')](),controller['clone']);router[_0xaf2c('0xe')]('/',auth['isAuthenticated'](),controller[_0xaf2c('0xf')]);router[_0xaf2c('0x10')](_0xaf2c('0xc'),auth[_0xaf2c('0x9')](),controller['update']);router['delete'](_0xaf2c('0xc'),auth[_0xaf2c('0x9')](),controller[_0xaf2c('0x11')]);module[_0xaf2c('0x12')]=router;
\ No newline at end of file
+var _0x4b84=['./trunk.controller','get','isAuthenticated','post','clone','put','/:id','update','delete','exports','multer','util','express','../../components/interaction/service','../../config/environment'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0x4b84,0x1cc));var _0x44b8=function(_0x147497,_0x43e433){_0x147497=_0x147497-0x0;var _0x35f45=_0x4b84[_0x147497];return _0x35f45;};'use strict';var multer=require(_0x44b8('0x0'));var util=require(_0x44b8('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x44b8('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x44b8('0x3'));var config=require(_0x44b8('0x4'));var controller=require(_0x44b8('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x44b8('0x6')]('/:id',auth[_0x44b8('0x7')](),controller['show']);router[_0x44b8('0x8')]('/:id/clone',auth['isAuthenticated'](),controller[_0x44b8('0x9')]);router[_0x44b8('0x8')]('/',auth[_0x44b8('0x7')](),controller['create']);router[_0x44b8('0xa')](_0x44b8('0xb'),auth[_0x44b8('0x7')](),controller[_0x44b8('0xc')]);router[_0x44b8('0xd')](_0x44b8('0xb'),auth[_0x44b8('0x7')](),controller['destroy']);module[_0x44b8('0xe')]=router;
\ No newline at end of file