Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / api / pm2 / index.js
index 51b00ad..9b60b2f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4a94=['create','put','update','delete','destroy','express','Router','../../components/auth/service','./pm2.controller','get','isAuthenticated','/:id','post'];(function(_0x57c0ab,_0x57dd50){var _0x145ad5=function(_0x458174){while(--_0x458174){_0x57c0ab['push'](_0x57c0ab['shift']());}};_0x145ad5(++_0x57dd50);}(_0x4a94,0x1cc));var _0x44a9=function(_0x2f37f2,_0xe5d2dc){_0x2f37f2=_0x2f37f2-0x0;var _0x3bdde9=_0x4a94[_0x2f37f2];return _0x3bdde9;};'use strict';var express=require(_0x44a9('0x0'));var router=express[_0x44a9('0x1')]();var auth=require(_0x44a9('0x2'));var controller=require(_0x44a9('0x3'));router[_0x44a9('0x4')]('/',auth[_0x44a9('0x5')](),controller['index']);router[_0x44a9('0x4')](_0x44a9('0x6'),auth['isAuthenticated'](),controller['show']);router[_0x44a9('0x7')]('/',auth['isAuthenticated'](),controller[_0x44a9('0x8')]);router[_0x44a9('0x9')](_0x44a9('0x6'),auth[_0x44a9('0x5')](),controller[_0x44a9('0xa')]);router[_0x44a9('0xb')](_0x44a9('0x6'),auth['isAuthenticated'](),controller[_0x44a9('0xc')]);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(_0x11445a,_0xe81b3d){var _0x16bdc7=function(_0x4605a3){while(--_0x4605a3){_0x11445a['push'](_0x11445a['shift']());}};_0x16bdc7(++_0xe81b3d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x8de54f,_0x271987){_0x8de54f=_0x8de54f-0x0;var _0x14cba4=_0xa9e0[_0x8de54f];return _0x14cba4;};'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