Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / pm2 / index.js
index adbd62c..6f8036d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0bf6=['isAuthenticated','index','show','post','create','put','update','delete','/:id','destroy','exports','express','Router','../../components/auth/service','./pm2.controller','get'];(function(_0x33d558,_0x2234af){var _0xeb0b23=function(_0x644cc3){while(--_0x644cc3){_0x33d558['push'](_0x33d558['shift']());}};_0xeb0b23(++_0x2234af);}(_0x0bf6,0x17b));var _0x60bf=function(_0x4167dd,_0x319066){_0x4167dd=_0x4167dd-0x0;var _0x19cdb1=_0x0bf6[_0x4167dd];return _0x19cdb1;};'use strict';var express=require(_0x60bf('0x0'));var router=express[_0x60bf('0x1')]();var auth=require(_0x60bf('0x2'));var controller=require(_0x60bf('0x3'));router[_0x60bf('0x4')]('/',auth[_0x60bf('0x5')](),controller[_0x60bf('0x6')]);router[_0x60bf('0x4')]('/:id',auth['isAuthenticated'](),controller[_0x60bf('0x7')]);router[_0x60bf('0x8')]('/',auth['isAuthenticated'](),controller[_0x60bf('0x9')]);router[_0x60bf('0xa')]('/:id',auth[_0x60bf('0x5')](),controller[_0x60bf('0xb')]);router[_0x60bf('0xc')](_0x60bf('0xd'),auth['isAuthenticated'](),controller[_0x60bf('0xe')]);module[_0x60bf('0xf')]=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