Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / pm2 / index.js
index 65459f4..0444231 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x64b9=['show','isAuthenticated','put','/:id','delete','destroy','exports','express','Router','get','index'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x64b9,0x167));var _0x964b=function(_0x4dc31d,_0x1d130b){_0x4dc31d=_0x4dc31d-0x0;var _0x346c75=_0x64b9[_0x4dc31d];return _0x346c75;};'use strict';var express=require(_0x964b('0x0'));var router=express[_0x964b('0x1')]();var auth=require('../../components/auth/service');var controller=require('./pm2.controller');router[_0x964b('0x2')]('/',auth['isAuthenticated'](),controller[_0x964b('0x3')]);router[_0x964b('0x2')]('/:id',auth['isAuthenticated'](),controller[_0x964b('0x4')]);router['post']('/',auth[_0x964b('0x5')](),controller['create']);router[_0x964b('0x6')](_0x964b('0x7'),auth[_0x964b('0x5')](),controller['update']);router[_0x964b('0x8')](_0x964b('0x7'),auth[_0x964b('0x5')](),controller[_0x964b('0x9')]);module[_0x964b('0xa')]=router;
\ No newline at end of file
+var _0xcf5a=['index','/:id','post','create','put','delete','destroy','exports','./pm2.controller','get','isAuthenticated'];(function(_0x2e7439,_0x69de48){var _0x246b18=function(_0x325915){while(--_0x325915){_0x2e7439['push'](_0x2e7439['shift']());}};_0x246b18(++_0x69de48);}(_0xcf5a,0x8c));var _0xacf5=function(_0x133dfa,_0x438843){_0x133dfa=_0x133dfa-0x0;var _0x2f16f6=_0xcf5a[_0x133dfa];return _0x2f16f6;};'use strict';var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0xacf5('0x0'));router[_0xacf5('0x1')]('/',auth[_0xacf5('0x2')](),controller[_0xacf5('0x3')]);router[_0xacf5('0x1')](_0xacf5('0x4'),auth['isAuthenticated'](),controller['show']);router[_0xacf5('0x5')]('/',auth['isAuthenticated'](),controller[_0xacf5('0x6')]);router[_0xacf5('0x7')](_0xacf5('0x4'),auth[_0xacf5('0x2')](),controller['update']);router[_0xacf5('0x8')](_0xacf5('0x4'),auth[_0xacf5('0x2')](),controller[_0xacf5('0x9')]);module[_0xacf5('0xa')]=router;
\ No newline at end of file