Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / api / pm2 / index.js
index 62f4add..06a0519 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x082a=['destroy','exports','express','Router','./pm2.controller','get','isAuthenticated','/:id','show','post','create','put','delete'];(function(_0x127c7b,_0x1f65e7){var _0x1708eb=function(_0x2033e5){while(--_0x2033e5){_0x127c7b['push'](_0x127c7b['shift']());}};_0x1708eb(++_0x1f65e7);}(_0x082a,0xd2));var _0xa082=function(_0x2b222b,_0x4e7ecf){_0x2b222b=_0x2b222b-0x0;var _0x311f14=_0x082a[_0x2b222b];return _0x311f14;};'use strict';var express=require(_0xa082('0x0'));var router=express[_0xa082('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa082('0x2'));router[_0xa082('0x3')]('/',auth[_0xa082('0x4')](),controller['index']);router['get'](_0xa082('0x5'),auth[_0xa082('0x4')](),controller[_0xa082('0x6')]);router[_0xa082('0x7')]('/',auth['isAuthenticated'](),controller[_0xa082('0x8')]);router[_0xa082('0x9')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xa082('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xa082('0xb')]);module[_0xa082('0xc')]=router;
\ No newline at end of file
+var _0xcbfb=['destroy','exports','express','../../components/auth/service','get','index','/:id','isAuthenticated','show','post','create','put','update','delete'];(function(_0x53ddab,_0x4ada9d){var _0x5819ac=function(_0x4d5fc8){while(--_0x4d5fc8){_0x53ddab['push'](_0x53ddab['shift']());}};_0x5819ac(++_0x4ada9d);}(_0xcbfb,0x1a6));var _0xbcbf=function(_0xbaad55,_0x30b4c6){_0xbaad55=_0xbaad55-0x0;var _0x3e8ef3=_0xcbfb[_0xbaad55];return _0x3e8ef3;};'use strict';var express=require(_0xbcbf('0x0'));var router=express['Router']();var auth=require(_0xbcbf('0x1'));var controller=require('./pm2.controller');router[_0xbcbf('0x2')]('/',auth['isAuthenticated'](),controller[_0xbcbf('0x3')]);router[_0xbcbf('0x2')](_0xbcbf('0x4'),auth[_0xbcbf('0x5')](),controller[_0xbcbf('0x6')]);router[_0xbcbf('0x7')]('/',auth[_0xbcbf('0x5')](),controller[_0xbcbf('0x8')]);router[_0xbcbf('0x9')]('/:id',auth[_0xbcbf('0x5')](),controller[_0xbcbf('0xa')]);router[_0xbcbf('0xb')](_0xbcbf('0x4'),auth[_0xbcbf('0x5')](),controller[_0xbcbf('0xc')]);module[_0xbcbf('0xd')]=router;
\ No newline at end of file