Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / pm2 / index.js
index 40a7522..318d859 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1eb8=['post','create','update','delete','destroy','express','Router','./pm2.controller','get','isAuthenticated','index','/:id'];(function(_0x51ba9a,_0x3c5fb7){var _0x25eed7=function(_0x5c9a66){while(--_0x5c9a66){_0x51ba9a['push'](_0x51ba9a['shift']());}};_0x25eed7(++_0x3c5fb7);}(_0x1eb8,0x1d9));var _0x81eb=function(_0x485e18,_0x3cf9d2){_0x485e18=_0x485e18-0x0;var _0x39d516=_0x1eb8[_0x485e18];return _0x39d516;};'use strict';var express=require(_0x81eb('0x0'));var router=express[_0x81eb('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x81eb('0x2'));router[_0x81eb('0x3')]('/',auth[_0x81eb('0x4')](),controller[_0x81eb('0x5')]);router['get'](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller['show']);router[_0x81eb('0x7')]('/',auth['isAuthenticated'](),controller[_0x81eb('0x8')]);router['put'](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller[_0x81eb('0x9')]);router[_0x81eb('0xa')](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller[_0x81eb('0xb')]);module['exports']=router;
\ No newline at end of file
+var _0xa9e0=['create','put','delete','destroy','exports','express','Router','../../components/auth/service','isAuthenticated','get','/:id','show','post'];(function(_0x42d807,_0x466d1c){var _0x2b4c01=function(_0x10b78d){while(--_0x10b78d){_0x42d807['push'](_0x42d807['shift']());}};_0x2b4c01(++_0x466d1c);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xa9e0[_0xbca1b1];return _0x4e1686;};'use strict';var express=require(_0x0a9e('0x0'));var router=express[_0x0a9e('0x1')]();var auth=require(_0x0a9e('0x2'));var controller=require('./pm2.controller');router['get']('/',auth[_0x0a9e('0x3')](),controller['index']);router[_0x0a9e('0x4')](_0x0a9e('0x5'),auth[_0x0a9e('0x3')](),controller[_0x0a9e('0x6')]);router[_0x0a9e('0x7')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x8')]);router[_0x0a9e('0x9')](_0x0a9e('0x5'),auth['isAuthenticated'](),controller['update']);router[_0x0a9e('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);module[_0x0a9e('0xc')]=router;
\ No newline at end of file