X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fdisposition%2Findex.js;h=2f336301d5a44e3987af742e76e09074b8de49eb;hb=5a8e02cd20cb48fdbc240736658fd4afd650c896;hp=a643360cf43349d768ac6a236cb814c852661ad8;hpb=54b4ff96e83f911255a158fd7e32a0e84ec4b7d0;p=motion2.git diff --git a/server/api/disposition/index.js b/server/api/disposition/index.js index a643360..2f33630 100644 --- a/server/api/disposition/index.js +++ b/server/api/disposition/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfbf2=['update','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x433991,_0x43b40a){var _0x369509=function(_0x725a53){while(--_0x725a53){_0x433991['push'](_0x433991['shift']());}};_0x369509(++_0x43b40a);}(_0xfbf2,0xc0));var _0x2fbf=function(_0x465e84,_0x2ad6f8){_0x465e84=_0x465e84-0x0;var _0x29c6df=_0xfbf2[_0x465e84];return _0x29c6df;};'use strict';var multer=require(_0x2fbf('0x0'));var util=require(_0x2fbf('0x1'));var path=require(_0x2fbf('0x2'));var timeout=require(_0x2fbf('0x3'));var express=require(_0x2fbf('0x4'));var router=express[_0x2fbf('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2fbf('0x6'));var interaction=require(_0x2fbf('0x7'));var config=require(_0x2fbf('0x8'));var controller=require(_0x2fbf('0x9'));router[_0x2fbf('0xa')]('/',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0xc')]);router['get'](_0x2fbf('0xd'),auth[_0x2fbf('0xb')](),controller['show']);router[_0x2fbf('0xe')]('/',auth['isAuthenticated'](),controller[_0x2fbf('0xf')]);router[_0x2fbf('0x10')](_0x2fbf('0xd'),auth[_0x2fbf('0xb')](),controller[_0x2fbf('0x11')]);router['delete'](_0x2fbf('0xd'),auth['isAuthenticated'](),controller[_0x2fbf('0x12')]);module['exports']=router; \ No newline at end of file +var _0xffe2=['./disposition.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x256f55,_0x4325f5){var _0x5b16d1=function(_0x309d9f){while(--_0x309d9f){_0x256f55['push'](_0x256f55['shift']());}};_0x5b16d1(++_0x4325f5);}(_0xffe2,0x1d8));var _0x2ffe=function(_0x22f309,_0x4001fb){_0x22f309=_0x22f309-0x0;var _0x524f16=_0xffe2[_0x22f309];return _0x524f16;};'use strict';var multer=require('multer');var util=require(_0x2ffe('0x0'));var path=require('path');var timeout=require(_0x2ffe('0x1'));var express=require(_0x2ffe('0x2'));var router=express[_0x2ffe('0x3')]();var fs_extra=require(_0x2ffe('0x4'));var auth=require(_0x2ffe('0x5'));var interaction=require(_0x2ffe('0x6'));var config=require(_0x2ffe('0x7'));var controller=require(_0x2ffe('0x8'));router[_0x2ffe('0x9')]('/',auth[_0x2ffe('0xa')](),controller[_0x2ffe('0xb')]);router[_0x2ffe('0x9')](_0x2ffe('0xc'),auth[_0x2ffe('0xa')](),controller[_0x2ffe('0xd')]);router[_0x2ffe('0xe')]('/',auth['isAuthenticated'](),controller[_0x2ffe('0xf')]);router[_0x2ffe('0x10')](_0x2ffe('0xc'),auth['isAuthenticated'](),controller[_0x2ffe('0x11')]);router[_0x2ffe('0x12')](_0x2ffe('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x2ffe('0x13')]=router; \ No newline at end of file