Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / api / pm2 / index.js
index 40a7522..f5e3fde 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x76c0=['../../components/auth/service','./pm2.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy'];(function(_0x8e8004,_0x2a4678){var _0xd4bf31=function(_0x39d468){while(--_0x39d468){_0x8e8004['push'](_0x8e8004['shift']());}};_0xd4bf31(++_0x2a4678);}(_0x76c0,0x11e));var _0x076c=function(_0xabbc52,_0x5ae0bb){_0xabbc52=_0xabbc52-0x0;var _0x1fb91c=_0x76c0[_0xabbc52];return _0x1fb91c;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x076c('0x0'));var controller=require(_0x076c('0x1'));router[_0x076c('0x2')]('/',auth[_0x076c('0x3')](),controller[_0x076c('0x4')]);router[_0x076c('0x2')](_0x076c('0x5'),auth[_0x076c('0x3')](),controller[_0x076c('0x6')]);router[_0x076c('0x7')]('/',auth[_0x076c('0x3')](),controller[_0x076c('0x8')]);router[_0x076c('0x9')](_0x076c('0x5'),auth['isAuthenticated'](),controller[_0x076c('0xa')]);router[_0x076c('0xb')](_0x076c('0x5'),auth[_0x076c('0x3')](),controller[_0x076c('0xc')]);module['exports']=router;
\ No newline at end of file