X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fpause%2Findex.js;h=4013132b5b10ea842b9267b91f241e76a6267c82;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=74e64f5969ba9e619187d6ec2df91ae4f91b4cbb;hpb=7e2a86485d5b091066011cf58fcba785923a5ac5;p=motion2.git diff --git a/server/api/pause/index.js b/server/api/pause/index.js index 74e64f5..4013132 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 _0xa997=['get','isAuthenticated','show','post','create','put','/:id','update','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./pause.controller'];(function(_0xb0f7c3,_0x4eae95){var _0x28ea68=function(_0x4395a7){while(--_0x4395a7){_0xb0f7c3['push'](_0xb0f7c3['shift']());}};_0x28ea68(++_0x4eae95);}(_0xa997,0x13b));var _0x7a99=function(_0x12012d,_0x46e1f6){_0x12012d=_0x12012d-0x0;var _0x2ccaf1=_0xa997[_0x12012d];return _0x2ccaf1;};'use strict';var multer=require(_0x7a99('0x0'));var util=require(_0x7a99('0x1'));var path=require(_0x7a99('0x2'));var timeout=require(_0x7a99('0x3'));var express=require(_0x7a99('0x4'));var router=express[_0x7a99('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x7a99('0x6'));var config=require(_0x7a99('0x7'));var controller=require(_0x7a99('0x8'));router[_0x7a99('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7a99('0x9')]('/:id',auth[_0x7a99('0xa')](),controller[_0x7a99('0xb')]);router[_0x7a99('0xc')]('/',auth[_0x7a99('0xa')](),controller[_0x7a99('0xd')]);router[_0x7a99('0xe')](_0x7a99('0xf'),auth[_0x7a99('0xa')](),controller[_0x7a99('0x10')]);router['delete']('/:id',auth[_0x7a99('0xa')](),controller['destroy']);module[_0x7a99('0x11')]=router; \ No newline at end of file +var _0xe6ee=['get','isAuthenticated','index','/:id','post','create','put','update','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x14a643,_0xf6d57c){var _0x47f0da=function(_0xc6a425){while(--_0xc6a425){_0x14a643['push'](_0x14a643['shift']());}};_0x47f0da(++_0xf6d57c);}(_0xe6ee,0x1d4));var _0xee6e=function(_0x49288a,_0x38e4eb){_0x49288a=_0x49288a-0x0;var _0x51d95e=_0xe6ee[_0x49288a];return _0x51d95e;};'use strict';var multer=require(_0xee6e('0x0'));var util=require('util');var path=require(_0xee6e('0x1'));var timeout=require(_0xee6e('0x2'));var express=require(_0xee6e('0x3'));var router=express[_0xee6e('0x4')]();var fs_extra=require(_0xee6e('0x5'));var auth=require(_0xee6e('0x6'));var interaction=require(_0xee6e('0x7'));var config=require('../../config/environment');var controller=require('./pause.controller');router[_0xee6e('0x8')]('/',auth[_0xee6e('0x9')](),controller[_0xee6e('0xa')]);router[_0xee6e('0x8')](_0xee6e('0xb'),auth[_0xee6e('0x9')](),controller['show']);router[_0xee6e('0xc')]('/',auth[_0xee6e('0x9')](),controller[_0xee6e('0xd')]);router[_0xee6e('0xe')](_0xee6e('0xb'),auth[_0xee6e('0x9')](),controller[_0xee6e('0xf')]);router['delete'](_0xee6e('0xb'),auth['isAuthenticated'](),controller[_0xee6e('0x10')]);module['exports']=router; \ No newline at end of file