X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fcdr%2Findex.js;h=2daaa3063101da1f84fd432bfaf3fe9e0be25bfe;hb=d0e53397894213749637bb93a101e4fc9544eaa3;hp=2715c1e1c65c60ed01a4d14176065a6c30b0219e;hpb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;p=motion2.git diff --git a/server/api/cdr/index.js b/server/api/cdr/index.js index 2715c1e..2daaa30 100644 --- a/server/api/cdr/index.js +++ b/server/api/cdr/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7f74=['isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','destroy','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller'];(function(_0x412cae,_0x41b564){var _0x376eb3=function(_0x226568){while(--_0x226568){_0x412cae['push'](_0x412cae['shift']());}};_0x376eb3(++_0x41b564);}(_0x7f74,0x14f));var _0x47f7=function(_0x522d67,_0x57eb35){_0x522d67=_0x522d67-0x0;var _0x38f1c1=_0x7f74[_0x522d67];return _0x38f1c1;};'use strict';var multer=require('multer');var util=require(_0x47f7('0x0'));var path=require('path');var timeout=require(_0x47f7('0x1'));var express=require('express');var router=express[_0x47f7('0x2')]();var auth=require(_0x47f7('0x3'));var interaction=require(_0x47f7('0x4'));var config=require(_0x47f7('0x5'));var controller=require(_0x47f7('0x6'));router['get']('/',auth[_0x47f7('0x7')](),controller[_0x47f7('0x8')]);router[_0x47f7('0x9')](_0x47f7('0xa'),auth[_0x47f7('0x7')](),controller[_0x47f7('0xb')]);router['get'](_0x47f7('0xc'),auth['isAuthenticated'](),controller[_0x47f7('0xd')]);router[_0x47f7('0xe')]('/',auth['isAuthenticated'](),controller[_0x47f7('0xf')]);router[_0x47f7('0x10')](_0x47f7('0xc'),auth[_0x47f7('0x7')](),controller[_0x47f7('0x11')]);router['delete'](_0x47f7('0xc'),auth[_0x47f7('0x7')](),controller[_0x47f7('0x12')]);module['exports']=router; \ No newline at end of file +var _0xee81=['get','isAuthenticated','/describe','describe','/:id','post','create','put','delete','destroy','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xbbb864,_0x1d01b3){var _0x2473db=function(_0x37c378){while(--_0x37c378){_0xbbb864['push'](_0xbbb864['shift']());}};_0x2473db(++_0x1d01b3);}(_0xee81,0x16a));var _0x1ee8=function(_0x555765,_0x50cded){_0x555765=_0x555765-0x0;var _0x3dc49d=_0xee81[_0x555765];return _0x3dc49d;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x1ee8('0x0'));var express=require(_0x1ee8('0x1'));var router=express[_0x1ee8('0x2')]();var auth=require(_0x1ee8('0x3'));var interaction=require(_0x1ee8('0x4'));var config=require(_0x1ee8('0x5'));var controller=require('./cdr.controller');router[_0x1ee8('0x6')]('/',auth[_0x1ee8('0x7')](),controller['index']);router[_0x1ee8('0x6')](_0x1ee8('0x8'),auth['isAuthenticated'](),controller[_0x1ee8('0x9')]);router[_0x1ee8('0x6')](_0x1ee8('0xa'),auth[_0x1ee8('0x7')](),controller['show']);router[_0x1ee8('0xb')]('/',auth[_0x1ee8('0x7')](),controller[_0x1ee8('0xc')]);router[_0x1ee8('0xd')](_0x1ee8('0xa'),auth[_0x1ee8('0x7')](),controller['update']);router[_0x1ee8('0xe')](_0x1ee8('0xa'),auth[_0x1ee8('0x7')](),controller[_0x1ee8('0xf')]);module['exports']=router; \ No newline at end of file