X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=ae3cadb77875996cbe3e59e7ac036ccb80cb9ae1;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=93c7d0eefcdb05e24270eefd241ce232a5e257ca;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 93c7d0e..ae3cadb 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 _0xb3eb=['get','isAuthenticated','index','show','/:id/run','run','put','delete','/:id','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4bb593,_0x272ed0){var _0x2da2d8=function(_0x4b25e9){while(--_0x4b25e9){_0x4bb593['push'](_0x4bb593['shift']());}};_0x2da2d8(++_0x272ed0);}(_0xb3eb,0x14e));var _0xbb3e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb3eb[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xbb3e('0x0'));var util=require(_0xbb3e('0x1'));var path=require('path');var timeout=require(_0xbb3e('0x2'));var express=require(_0xbb3e('0x3'));var router=express[_0xbb3e('0x4')]();var auth=require(_0xbb3e('0x5'));var interaction=require(_0xbb3e('0x6'));var config=require(_0xbb3e('0x7'));var controller=require('./schedule.controller');router[_0xbb3e('0x8')]('/',auth[_0xbb3e('0x9')](),controller[_0xbb3e('0xa')]);router['get']('/:id',auth[_0xbb3e('0x9')](),controller[_0xbb3e('0xb')]);router['get'](_0xbb3e('0xc'),auth[_0xbb3e('0x9')](),controller[_0xbb3e('0xd')]);router['post']('/',auth[_0xbb3e('0x9')](),controller['create']);router[_0xbb3e('0xe')]('/:id',auth[_0xbb3e('0x9')](),controller['update']);router[_0xbb3e('0xf')](_0xbb3e('0x10'),auth[_0xbb3e('0x9')](),controller[_0xbb3e('0x11')]);module[_0xbb3e('0x12')]=router; \ No newline at end of file +var _0x3b57=['../../config/environment','./schedule.controller','get','isAuthenticated','run','post','create','/:id','update','delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3b57,0xe4));var _0x73b5=function(_0x5a1aa9,_0x49f80e){_0x5a1aa9=_0x5a1aa9-0x0;var _0x1ed1aa=_0x3b57[_0x5a1aa9];return _0x1ed1aa;};'use strict';var multer=require('multer');var util=require(_0x73b5('0x0'));var path=require(_0x73b5('0x1'));var timeout=require('connect-timeout');var express=require(_0x73b5('0x2'));var router=express[_0x73b5('0x3')]();var auth=require(_0x73b5('0x4'));var interaction=require(_0x73b5('0x5'));var config=require(_0x73b5('0x6'));var controller=require(_0x73b5('0x7'));router[_0x73b5('0x8')]('/',auth[_0x73b5('0x9')](),controller['index']);router[_0x73b5('0x8')]('/:id',auth[_0x73b5('0x9')](),controller['show']);router['get']('/:id/run',auth[_0x73b5('0x9')](),controller[_0x73b5('0xa')]);router[_0x73b5('0xb')]('/',auth[_0x73b5('0x9')](),controller[_0x73b5('0xc')]);router['put'](_0x73b5('0xd'),auth[_0x73b5('0x9')](),controller[_0x73b5('0xe')]);router[_0x73b5('0xf')](_0x73b5('0xd'),auth[_0x73b5('0x9')](),controller[_0x73b5('0x10')]);module[_0x73b5('0x11')]=router; \ No newline at end of file