Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / trunk / index.js
index 7ae59f3..9f82d61 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc89f=['destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','/:id/clone','create','put','update','delete'];(function(_0x5d86e9,_0x49e5dd){var _0xc74fcb=function(_0x255a3c){while(--_0x255a3c){_0x5d86e9['push'](_0x5d86e9['shift']());}};_0xc74fcb(++_0x49e5dd);}(_0xc89f,0xaa));var _0xfc89=function(_0x49d21f,_0x6e7f5){_0x49d21f=_0x49d21f-0x0;var _0x1b93f2=_0xc89f[_0x49d21f];return _0x1b93f2;};'use strict';var multer=require('multer');var util=require(_0xfc89('0x0'));var path=require(_0xfc89('0x1'));var timeout=require(_0xfc89('0x2'));var express=require(_0xfc89('0x3'));var router=express[_0xfc89('0x4')]();var fs_extra=require(_0xfc89('0x5'));var auth=require(_0xfc89('0x6'));var interaction=require(_0xfc89('0x7'));var config=require('../../config/environment');var controller=require('./trunk.controller');router[_0xfc89('0x8')]('/',auth[_0xfc89('0x9')](),controller[_0xfc89('0xa')]);router['get'](_0xfc89('0xb'),auth['isAuthenticated'](),controller[_0xfc89('0xc')]);router[_0xfc89('0xd')](_0xfc89('0xe'),auth['isAuthenticated'](),controller['clone']);router['post']('/',auth[_0xfc89('0x9')](),controller[_0xfc89('0xf')]);router[_0xfc89('0x10')](_0xfc89('0xb'),auth[_0xfc89('0x9')](),controller[_0xfc89('0x11')]);router[_0xfc89('0x12')]('/:id',auth[_0xfc89('0x9')](),controller[_0xfc89('0x13')]);module[_0xfc89('0x14')]=router;
\ No newline at end of file
+var _0xbce6=['../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','post','clone','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbce6,0x1c8));var _0x6bce=function(_0x4255ed,_0x195ff6){_0x4255ed=_0x4255ed-0x0;var _0x1de65b=_0xbce6[_0x4255ed];return _0x1de65b;};'use strict';var multer=require(_0x6bce('0x0'));var util=require(_0x6bce('0x1'));var path=require(_0x6bce('0x2'));var timeout=require(_0x6bce('0x3'));var express=require('express');var router=express[_0x6bce('0x4')]();var fs_extra=require(_0x6bce('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x6bce('0x6'));var config=require(_0x6bce('0x7'));var controller=require(_0x6bce('0x8'));router[_0x6bce('0x9')]('/',auth[_0x6bce('0xa')](),controller[_0x6bce('0xb')]);router[_0x6bce('0x9')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x6bce('0xc')]('/:id/clone',auth['isAuthenticated'](),controller[_0x6bce('0xd')]);router[_0x6bce('0xc')]('/',auth[_0x6bce('0xa')](),controller[_0x6bce('0xe')]);router[_0x6bce('0xf')](_0x6bce('0x10'),auth[_0x6bce('0xa')](),controller[_0x6bce('0x11')]);router[_0x6bce('0x12')](_0x6bce('0x10'),auth[_0x6bce('0xa')](),controller[_0x6bce('0x13')]);module[_0x6bce('0x14')]=router;
\ No newline at end of file