Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / pm2 / index.js
index f90dd02..c4e50c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2fab=['exports','express','Router','../../components/auth/service','./pm2.controller','get','isAuthenticated','index','create','/:id','update','delete'];(function(_0x532d24,_0x5cac73){var _0x1a905f=function(_0x188678){while(--_0x188678){_0x532d24['push'](_0x532d24['shift']());}};_0x1a905f(++_0x5cac73);}(_0x2fab,0xb5));var _0xb2fa=function(_0x55202e,_0x32bc76){_0x55202e=_0x55202e-0x0;var _0x5cc059=_0x2fab[_0x55202e];return _0x5cc059;};'use strict';var express=require(_0xb2fa('0x0'));var router=express[_0xb2fa('0x1')]();var auth=require(_0xb2fa('0x2'));var controller=require(_0xb2fa('0x3'));router[_0xb2fa('0x4')]('/',auth[_0xb2fa('0x5')](),controller[_0xb2fa('0x6')]);router[_0xb2fa('0x4')]('/:id',auth[_0xb2fa('0x5')](),controller['show']);router['post']('/',auth[_0xb2fa('0x5')](),controller[_0xb2fa('0x7')]);router['put'](_0xb2fa('0x8'),auth[_0xb2fa('0x5')](),controller[_0xb2fa('0x9')]);router[_0xb2fa('0xa')](_0xb2fa('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0xb2fa('0xb')]=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(_0x3580f0,_0xbdc375){var _0x468a20=function(_0x44829d){while(--_0x44829d){_0x3580f0['push'](_0x3580f0['shift']());}};_0x468a20(++_0xbdc375);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xa9e0[_0x1facfa];return _0x9ec701;};'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