Built motion from commit (unavailable).|2.5.24
[motion2.git] / server / api / pm2 / index.js
index f90dd02..40a7522 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 _0x1eb8=['post','create','update','delete','destroy','express','Router','./pm2.controller','get','isAuthenticated','index','/:id'];(function(_0x51ba9a,_0x3c5fb7){var _0x25eed7=function(_0x5c9a66){while(--_0x5c9a66){_0x51ba9a['push'](_0x51ba9a['shift']());}};_0x25eed7(++_0x3c5fb7);}(_0x1eb8,0x1d9));var _0x81eb=function(_0x485e18,_0x3cf9d2){_0x485e18=_0x485e18-0x0;var _0x39d516=_0x1eb8[_0x485e18];return _0x39d516;};'use strict';var express=require(_0x81eb('0x0'));var router=express[_0x81eb('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x81eb('0x2'));router[_0x81eb('0x3')]('/',auth[_0x81eb('0x4')](),controller[_0x81eb('0x5')]);router['get'](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller['show']);router[_0x81eb('0x7')]('/',auth['isAuthenticated'](),controller[_0x81eb('0x8')]);router['put'](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller[_0x81eb('0x9')]);router[_0x81eb('0xa')](_0x81eb('0x6'),auth[_0x81eb('0x4')](),controller[_0x81eb('0xb')]);module['exports']=router;
\ No newline at end of file