Built motion from commit db94841.|2.5.3
[motion2.git] / server / api / pm2 / index.js
index 24a8e41..2c556f9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x25bf=['./pm2.controller','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','express','Router','../../components/auth/service'];(function(_0x2d0c84,_0x110143){var _0x1b65f6=function(_0x265afc){while(--_0x265afc){_0x2d0c84['push'](_0x2d0c84['shift']());}};_0x1b65f6(++_0x110143);}(_0x25bf,0x13f));var _0xf25b=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x25bf[_0x4565bf];return _0x5610ba;};'use strict';var express=require(_0xf25b('0x0'));var router=express[_0xf25b('0x1')]();var auth=require(_0xf25b('0x2'));var controller=require(_0xf25b('0x3'));router[_0xf25b('0x4')]('/',auth[_0xf25b('0x5')](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0xf25b('0x6')]);router[_0xf25b('0x7')]('/',auth[_0xf25b('0x5')](),controller[_0xf25b('0x8')]);router[_0xf25b('0x9')](_0xf25b('0xa'),auth[_0xf25b('0x5')](),controller[_0xf25b('0xb')]);router[_0xf25b('0xc')]('/:id',auth[_0xf25b('0x5')](),controller[_0xf25b('0xd')]);module['exports']=router;
\ No newline at end of file
+var _0x8f93=['isAuthenticated','/:id','show','post','put','update','destroy','express','Router','../../components/auth/service','./pm2.controller','get'];(function(_0x524d2a,_0x393cfa){var _0x5d213e=function(_0x3146d0){while(--_0x3146d0){_0x524d2a['push'](_0x524d2a['shift']());}};_0x5d213e(++_0x393cfa);}(_0x8f93,0x1c3));var _0x38f9=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x8f93[_0x321bb2];return _0x9c12ed;};'use strict';var express=require(_0x38f9('0x0'));var router=express[_0x38f9('0x1')]();var auth=require(_0x38f9('0x2'));var controller=require(_0x38f9('0x3'));router[_0x38f9('0x4')]('/',auth[_0x38f9('0x5')](),controller['index']);router[_0x38f9('0x4')](_0x38f9('0x6'),auth[_0x38f9('0x5')](),controller[_0x38f9('0x7')]);router[_0x38f9('0x8')]('/',auth['isAuthenticated'](),controller['create']);router[_0x38f9('0x9')](_0x38f9('0x6'),auth['isAuthenticated'](),controller[_0x38f9('0xa')]);router['delete'](_0x38f9('0x6'),auth['isAuthenticated'](),controller[_0x38f9('0xb')]);module['exports']=router;
\ No newline at end of file