X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=52e6ac1d3360054087b6e2dc1a1c2dbd99228a5c;hb=d0a5f290c38808a51b2a974ceac262033db82ac8;hp=2835875cf19ff6fa1f554e09e877596e79dce968;hpb=fbc87b59ef94ef6130a71493194cc41e82b19e21;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 2835875..52e6ac1 100644 --- a/server/api/schedule/index.js +++ b/server/api/schedule/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xca72=['../../components/interaction/service','get','isAuthenticated','index','/:id','show','run','post','create','put','update','delete','util','path','connect-timeout','express','../../components/auth/service'];(function(_0x5a26c7,_0x56192c){var _0x42aa61=function(_0x32dd68){while(--_0x32dd68){_0x5a26c7['push'](_0x5a26c7['shift']());}};_0x42aa61(++_0x56192c);}(_0xca72,0xa5));var _0x2ca7=function(_0xbc4659,_0x578fba){_0xbc4659=_0xbc4659-0x0;var _0x5831f9=_0xca72[_0xbc4659];return _0x5831f9;};'use strict';var multer=require('multer');var util=require(_0x2ca7('0x0'));var path=require(_0x2ca7('0x1'));var timeout=require(_0x2ca7('0x2'));var express=require(_0x2ca7('0x3'));var router=express['Router']();var auth=require(_0x2ca7('0x4'));var interaction=require(_0x2ca7('0x5'));var config=require('../../config/environment');var controller=require('./schedule.controller');router[_0x2ca7('0x6')]('/',auth[_0x2ca7('0x7')](),controller[_0x2ca7('0x8')]);router['get'](_0x2ca7('0x9'),auth[_0x2ca7('0x7')](),controller[_0x2ca7('0xa')]);router[_0x2ca7('0x6')]('/:id/run',auth[_0x2ca7('0x7')](),controller[_0x2ca7('0xb')]);router[_0x2ca7('0xc')]('/',auth[_0x2ca7('0x7')](),controller[_0x2ca7('0xd')]);router[_0x2ca7('0xe')](_0x2ca7('0x9'),auth[_0x2ca7('0x7')](),controller[_0x2ca7('0xf')]);router[_0x2ca7('0x10')](_0x2ca7('0x9'),auth[_0x2ca7('0x7')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x5e7b=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/run','run','post','create','update','delete'];(function(_0x22dd48,_0x17b05){var _0x128e47=function(_0x1c994f){while(--_0x1c994f){_0x22dd48['push'](_0x22dd48['shift']());}};_0x128e47(++_0x17b05);}(_0x5e7b,0x100));var _0xb5e7=function(_0x4c445a,_0x4ee80f){_0x4c445a=_0x4c445a-0x0;var _0x2f611c=_0x5e7b[_0x4c445a];return _0x2f611c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb5e7('0x0'));var timeout=require(_0xb5e7('0x1'));var express=require('express');var router=express[_0xb5e7('0x2')]();var auth=require(_0xb5e7('0x3'));var interaction=require(_0xb5e7('0x4'));var config=require(_0xb5e7('0x5'));var controller=require('./schedule.controller');router[_0xb5e7('0x6')]('/',auth[_0xb5e7('0x7')](),controller[_0xb5e7('0x8')]);router['get'](_0xb5e7('0x9'),auth['isAuthenticated'](),controller['show']);router[_0xb5e7('0x6')](_0xb5e7('0xa'),auth[_0xb5e7('0x7')](),controller[_0xb5e7('0xb')]);router[_0xb5e7('0xc')]('/',auth['isAuthenticated'](),controller[_0xb5e7('0xd')]);router['put'](_0xb5e7('0x9'),auth[_0xb5e7('0x7')](),controller[_0xb5e7('0xe')]);router[_0xb5e7('0xf')](_0xb5e7('0x9'),auth[_0xb5e7('0x7')](),controller['destroy']);module['exports']=router; \ No newline at end of file