X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Ftrunk%2Findex.js;h=1dd4d2de7bf2451602718a119a6a047f751cd273;hb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;hp=80d4257d1579d87e2d613c681f22bd78b53f55b4;hpb=868a31873a4f5d6a45b7a9cfef882f2e311d37fa;p=motion2.git diff --git a/server/api/trunk/index.js b/server/api/trunk/index.js index 80d4257..1dd4d2d 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 _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(_0x29b609,_0x19d388){var _0x54c952=function(_0xb3c38d){while(--_0xb3c38d){_0x29b609['push'](_0x29b609['shift']());}};_0x54c952(++_0x19d388);}(_0x84ab,0x12f));var _0xb84a=function(_0x513aa5,_0x1fba79){_0x513aa5=_0x513aa5-0x0;var _0x1a1a7c=_0x84ab[_0x513aa5];return _0x1a1a7c;};'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 _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