X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Ftrunk%2Findex.js;h=9500ef5029b5cf4554c0874d98a6947f9e36964f;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=1dd4d2de7bf2451602718a119a6a047f751cd273;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/trunk/index.js b/server/api/trunk/index.js index 1dd4d2d..9500ef5 100644 --- a/server/api/trunk/index.js +++ b/server/api/trunk/index.js @@ -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 _0x54ef=['isAuthenticated','post','clone','create','put','update','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','/:id'];(function(_0x34fcdc,_0x2eaa35){var _0x3a0dc2=function(_0x5f28e7){while(--_0x5f28e7){_0x34fcdc['push'](_0x34fcdc['shift']());}};_0x3a0dc2(++_0x2eaa35);}(_0x54ef,0x112));var _0xf54e=function(_0x2e5dc2,_0x2c3c84){_0x2e5dc2=_0x2e5dc2-0x0;var _0x5e2752=_0x54ef[_0x2e5dc2];return _0x5e2752;};'use strict';var multer=require(_0xf54e('0x0'));var util=require(_0xf54e('0x1'));var path=require(_0xf54e('0x2'));var timeout=require('connect-timeout');var express=require(_0xf54e('0x3'));var router=express[_0xf54e('0x4')]();var auth=require(_0xf54e('0x5'));var interaction=require(_0xf54e('0x6'));var config=require(_0xf54e('0x7'));var controller=require(_0xf54e('0x8'));router[_0xf54e('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf54e('0x9')](_0xf54e('0xa'),auth[_0xf54e('0xb')](),controller['show']);router[_0xf54e('0xc')]('/:id/clone',auth[_0xf54e('0xb')](),controller[_0xf54e('0xd')]);router['post']('/',auth[_0xf54e('0xb')](),controller[_0xf54e('0xe')]);router[_0xf54e('0xf')](_0xf54e('0xa'),auth['isAuthenticated'](),controller[_0xf54e('0x10')]);router[_0xf54e('0x11')](_0xf54e('0xa'),auth[_0xf54e('0xb')](),controller['destroy']);module[_0xf54e('0x12')]=router; \ No newline at end of file