X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fdisposition%2Findex.js;h=756c98aab207beecf5f6362c7d1d87f8fb479445;hb=884fcf970b507196a3b60584a74b23a84d7eaf24;hp=0e302c74cb2d0ea71b7125b8144a9a1116337f29;hpb=032eef5eb1c414450ccc959e49effc8ff508851b;p=motion2.git diff --git a/server/api/disposition/index.js b/server/api/disposition/index.js index 0e302c7..756c98a 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 _0xd940=['delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','isAuthenticated','index','/:id','show','put','update'];(function(_0x3f7171,_0x515c21){var _0x4a6f16=function(_0x48790f){while(--_0x48790f){_0x3f7171['push'](_0x3f7171['shift']());}};_0x4a6f16(++_0x515c21);}(_0xd940,0xff));var _0x0d94=function(_0xf2662b,_0x4d8f41){_0xf2662b=_0xf2662b-0x0;var _0x257dc7=_0xd940[_0xf2662b];return _0x257dc7;};'use strict';var multer=require(_0x0d94('0x0'));var util=require(_0x0d94('0x1'));var path=require(_0x0d94('0x2'));var timeout=require(_0x0d94('0x3'));var express=require('express');var router=express[_0x0d94('0x4')]();var auth=require(_0x0d94('0x5'));var interaction=require(_0x0d94('0x6'));var config=require(_0x0d94('0x7'));var controller=require(_0x0d94('0x8'));router['get']('/',auth[_0x0d94('0x9')](),controller[_0x0d94('0xa')]);router['get'](_0x0d94('0xb'),auth[_0x0d94('0x9')](),controller[_0x0d94('0xc')]);router['post']('/',auth[_0x0d94('0x9')](),controller['create']);router[_0x0d94('0xd')](_0x0d94('0xb'),auth[_0x0d94('0x9')](),controller[_0x0d94('0xe')]);router[_0x0d94('0xf')](_0x0d94('0xb'),auth['isAuthenticated'](),controller[_0x0d94('0x10')]);module[_0x0d94('0x11')]=router; \ No newline at end of file +var _0x0f9b=['isAuthenticated','/:id','show','post','create','put','update','delete','multer','express','Router','../../components/interaction/service'];(function(_0x1de4b8,_0x529b41){var _0x557699=function(_0xb10c18){while(--_0xb10c18){_0x1de4b8['push'](_0x1de4b8['shift']());}};_0x557699(++_0x529b41);}(_0x0f9b,0xc8));var _0xb0f9=function(_0x104b87,_0x57d161){_0x104b87=_0x104b87-0x0;var _0x37038f=_0x0f9b[_0x104b87];return _0x37038f;};'use strict';var multer=require(_0xb0f9('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb0f9('0x1'));var router=express[_0xb0f9('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xb0f9('0x3'));var config=require('../../config/environment');var controller=require('./disposition.controller');router['get']('/',auth[_0xb0f9('0x4')](),controller['index']);router['get'](_0xb0f9('0x5'),auth[_0xb0f9('0x4')](),controller[_0xb0f9('0x6')]);router[_0xb0f9('0x7')]('/',auth['isAuthenticated'](),controller[_0xb0f9('0x8')]);router[_0xb0f9('0x9')]('/:id',auth[_0xb0f9('0x4')](),controller[_0xb0f9('0xa')]);router[_0xb0f9('0xb')](_0xb0f9('0x5'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file