Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / pm2 / index.js
index b86275d..6f8036d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x67ae=['/:id','delete','destroy','exports','express','Router','../../components/auth/service','isAuthenticated','get','post','put'];(function(_0x2be967,_0xe799e5){var _0x430c79=function(_0x5f19f7){while(--_0x5f19f7){_0x2be967['push'](_0x2be967['shift']());}};_0x430c79(++_0xe799e5);}(_0x67ae,0x101));var _0xe67a=function(_0x45ed42,_0x334bdc){_0x45ed42=_0x45ed42-0x0;var _0x32e4e4=_0x67ae[_0x45ed42];return _0x32e4e4;};'use strict';var express=require(_0xe67a('0x0'));var router=express[_0xe67a('0x1')]();var auth=require(_0xe67a('0x2'));var controller=require('./pm2.controller');router['get']('/',auth[_0xe67a('0x3')](),controller['index']);router[_0xe67a('0x4')]('/:id',auth[_0xe67a('0x3')](),controller['show']);router[_0xe67a('0x5')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe67a('0x6')](_0xe67a('0x7'),auth['isAuthenticated'](),controller['update']);router[_0xe67a('0x8')](_0xe67a('0x7'),auth[_0xe67a('0x3')](),controller[_0xe67a('0x9')]);module[_0xe67a('0xa')]=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(_0x3eda3f,_0x590c4a){var _0x33510c=function(_0x5e7921){while(--_0x5e7921){_0x3eda3f['push'](_0x3eda3f['shift']());}};_0x33510c(++_0x590c4a);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0xa9e0[_0x4fc9e6];return _0x551d28;};'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