X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailApplication%2Findex.js;h=ff166e9ced8624e9a8ed20e0ca94570e37aa4f5b;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=5febe07c9ddae82ebbe81703e382b3f0006f79e8;hpb=3a60439f3b647e2a7df8ce941316640492032b43;p=motion2.git diff --git a/server/api/mailApplication/index.js b/server/api/mailApplication/index.js index 5febe07..ff166e9 100644 --- a/server/api/mailApplication/index.js +++ b/server/api/mailApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6e0c=['../../config/environment','get','/:id','isAuthenticated','show','put','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service'];(function(_0x465d8c,_0x101ece){var _0x28f93e=function(_0x2584d8){while(--_0x2584d8){_0x465d8c['push'](_0x465d8c['shift']());}};_0x28f93e(++_0x101ece);}(_0x6e0c,0x134));var _0xc6e0=function(_0x595324,_0x5c25fc){_0x595324=_0x595324-0x0;var _0x506510=_0x6e0c[_0x595324];return _0x506510;};'use strict';var multer=require(_0xc6e0('0x0'));var util=require(_0xc6e0('0x1'));var path=require(_0xc6e0('0x2'));var timeout=require(_0xc6e0('0x3'));var express=require('express');var router=express[_0xc6e0('0x4')]();var fs_extra=require(_0xc6e0('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc6e0('0x6'));var config=require(_0xc6e0('0x7'));var controller=require('./mailApplication.controller');router[_0xc6e0('0x8')](_0xc6e0('0x9'),auth[_0xc6e0('0xa')](),controller[_0xc6e0('0xb')]);router[_0xc6e0('0xc')](_0xc6e0('0x9'),auth[_0xc6e0('0xa')](),controller['update']);router['delete'](_0xc6e0('0x9'),auth[_0xc6e0('0xa')](),controller[_0xc6e0('0xd')]);module[_0xc6e0('0xe')]=router; \ No newline at end of file +var _0x5378=['destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','isAuthenticated','put','/:id','delete'];(function(_0x2b9747,_0x78dffc){var _0x3ba264=function(_0x97df6a){while(--_0x97df6a){_0x2b9747['push'](_0x2b9747['shift']());}};_0x3ba264(++_0x78dffc);}(_0x5378,0x13d));var _0x8537=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x5378[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0x8537('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8537('0x1'));var router=express[_0x8537('0x2')]();var fs_extra=require(_0x8537('0x3'));var auth=require(_0x8537('0x4'));var interaction=require(_0x8537('0x5'));var config=require(_0x8537('0x6'));var controller=require(_0x8537('0x7'));router[_0x8537('0x8')]('/:id',auth[_0x8537('0x9')](),controller['show']);router[_0x8537('0xa')](_0x8537('0xb'),auth[_0x8537('0x9')](),controller['update']);router[_0x8537('0xc')](_0x8537('0xb'),auth[_0x8537('0x9')](),controller[_0x8537('0xd')]);module[_0x8537('0xe')]=router; \ No newline at end of file