X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareReportDetail%2Findex.js;h=e2d65bbec8eaf43d9c68393dca57db7bddaf17c4;hb=262e7062005b3f571634c4983ecdb7eac829efe8;hp=029b7a69ed4a55d5a8a9865128e77d79d850ede0;hpb=616b05b12f37a2d91c8e3c0e9817684f8aa283c7;p=motion2.git diff --git a/server/api/squareReportDetail/index.js b/server/api/squareReportDetail/index.js index 029b7a6..e2d65bb 100644 --- a/server/api/squareReportDetail/index.js +++ b/server/api/squareReportDetail/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['describe','/:id','create','delete','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated'];(function(_0x1ded3b,_0x38ef39){var _0x354a50=function(_0x3f3f80){while(--_0x3f3f80){_0x1ded3b['push'](_0x1ded3b['shift']());}};_0x354a50(++_0x38ef39);}(_0x7a54,0x106));var _0x47a5=function(_0x27be3e,_0x157764){_0x27be3e=_0x27be3e-0x0;var _0x5c8fe8=_0x7a54[_0x27be3e];return _0x5c8fe8;};'use strict';var multer=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var path=require(_0x47a5('0x2'));var timeout=require('connect-timeout');var express=require(_0x47a5('0x3'));var router=express[_0x47a5('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x47a5('0x5'));var config=require(_0x47a5('0x6'));var controller=require(_0x47a5('0x7'));router[_0x47a5('0x8')]('/',auth[_0x47a5('0x9')](),controller['index']);router[_0x47a5('0x8')]('/describe',auth[_0x47a5('0x9')](),controller[_0x47a5('0xa')]);router['get'](_0x47a5('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x47a5('0x9')](),controller[_0x47a5('0xc')]);router['put'](_0x47a5('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x47a5('0xd')](_0x47a5('0xb'),auth[_0x47a5('0x9')](),controller[_0x47a5('0xe')]);module[_0x47a5('0xf')]=router; \ No newline at end of file +var _0x5f2f=['/describe','/:id','post','create','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index'];(function(_0x108f1f,_0x39965d){var _0x3b4d3e=function(_0x9ea0d8){while(--_0x9ea0d8){_0x108f1f['push'](_0x108f1f['shift']());}};_0x3b4d3e(++_0x39965d);}(_0x5f2f,0x73));var _0xf5f2=function(_0x36a15f,_0x230479){_0x36a15f=_0x36a15f-0x0;var _0x2e85dd=_0x5f2f[_0x36a15f];return _0x2e85dd;};'use strict';var multer=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var path=require(_0xf5f2('0x2'));var timeout=require(_0xf5f2('0x3'));var express=require(_0xf5f2('0x4'));var router=express[_0xf5f2('0x5')]();var auth=require(_0xf5f2('0x6'));var interaction=require(_0xf5f2('0x7'));var config=require('../../config/environment');var controller=require('./squareReportDetail.controller');router[_0xf5f2('0x8')]('/',auth[_0xf5f2('0x9')](),controller[_0xf5f2('0xa')]);router[_0xf5f2('0x8')](_0xf5f2('0xb'),auth[_0xf5f2('0x9')](),controller['describe']);router[_0xf5f2('0x8')](_0xf5f2('0xc'),auth[_0xf5f2('0x9')](),controller['show']);router[_0xf5f2('0xd')]('/',auth[_0xf5f2('0x9')](),controller[_0xf5f2('0xe')]);router['put'](_0xf5f2('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xf5f2('0xf')](_0xf5f2('0xc'),auth['isAuthenticated'](),controller[_0xf5f2('0x10')]);module[_0xf5f2('0x11')]=router; \ No newline at end of file