X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fpause%2Findex.js;h=445de50db9ddc32b7807207d8f5b80326169a699;hb=fe8c827137dd3c5e6b46ed251e0129d077b10dab;hp=45901eed707777b1300be39e29b4e56a18a0470b;hpb=04c0f252a7a18de2cd4c2368f646bc7587dfdeaf;p=motion2.git diff --git a/server/api/pause/index.js b/server/api/pause/index.js index 45901ee..445de50 100644 --- a/server/api/pause/index.js +++ b/server/api/pause/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xac33=['/:id','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','isAuthenticated','index'];(function(_0xbc4f9f,_0x111984){var _0x3bec7d=function(_0x2f5ed7){while(--_0x2f5ed7){_0xbc4f9f['push'](_0xbc4f9f['shift']());}};_0x3bec7d(++_0x111984);}(_0xac33,0xea));var _0x3ac3=function(_0x317725,_0x1bd734){_0x317725=_0x317725-0x0;var _0x1e08cb=_0xac33[_0x317725];return _0x1e08cb;};'use strict';var multer=require(_0x3ac3('0x0'));var util=require(_0x3ac3('0x1'));var path=require(_0x3ac3('0x2'));var timeout=require(_0x3ac3('0x3'));var express=require(_0x3ac3('0x4'));var router=express['Router']();var fs_extra=require(_0x3ac3('0x5'));var auth=require(_0x3ac3('0x6'));var interaction=require(_0x3ac3('0x7'));var config=require(_0x3ac3('0x8'));var controller=require(_0x3ac3('0x9'));router[_0x3ac3('0xa')]('/',auth[_0x3ac3('0xb')](),controller[_0x3ac3('0xc')]);router[_0x3ac3('0xa')](_0x3ac3('0xd'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x3ac3('0xb')](),controller[_0x3ac3('0xe')]);router[_0x3ac3('0xf')](_0x3ac3('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x3ac3('0x10')](_0x3ac3('0xd'),auth[_0x3ac3('0xb')](),controller[_0x3ac3('0x11')]);module[_0x3ac3('0x12')]=router; \ No newline at end of file +var _0xac2b=['show','post','isAuthenticated','create','/:id','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./pause.controller','index','get'];(function(_0xad3ac2,_0xb570a2){var _0x4a53f3=function(_0x120253){while(--_0x120253){_0xad3ac2['push'](_0xad3ac2['shift']());}};_0x4a53f3(++_0xb570a2);}(_0xac2b,0x182));var _0xbac2=function(_0x1a7a1b,_0x518846){_0x1a7a1b=_0x1a7a1b-0x0;var _0x350750=_0xac2b[_0x1a7a1b];return _0x350750;};'use strict';var multer=require('multer');var util=require(_0xbac2('0x0'));var path=require(_0xbac2('0x1'));var timeout=require(_0xbac2('0x2'));var express=require(_0xbac2('0x3'));var router=express[_0xbac2('0x4')]();var fs_extra=require(_0xbac2('0x5'));var auth=require(_0xbac2('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbac2('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xbac2('0x8')]);router[_0xbac2('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xbac2('0xa')]);router[_0xbac2('0xb')]('/',auth[_0xbac2('0xc')](),controller[_0xbac2('0xd')]);router['put'](_0xbac2('0xe'),auth[_0xbac2('0xc')](),controller[_0xbac2('0xf')]);router[_0xbac2('0x10')](_0xbac2('0xe'),auth[_0xbac2('0xc')](),controller['destroy']);module[_0xbac2('0x11')]=router; \ No newline at end of file