Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / pm2 / index.js
index b1b4b9b..665ed96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xedf0=['exports','Router','./pm2.controller','get','isAuthenticated','/:id','post','create','update','destroy'];(function(_0x1526a9,_0x48fb64){var _0x9f4049=function(_0x13271a){while(--_0x13271a){_0x1526a9['push'](_0x1526a9['shift']());}};_0x9f4049(++_0x48fb64);}(_0xedf0,0xf1));var _0x0edf=function(_0x37fa4f,_0x379eb2){_0x37fa4f=_0x37fa4f-0x0;var _0x17133f=_0xedf0[_0x37fa4f];return _0x17133f;};'use strict';var express=require('express');var router=express[_0x0edf('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x0edf('0x1'));router[_0x0edf('0x2')]('/',auth[_0x0edf('0x3')](),controller['index']);router[_0x0edf('0x2')](_0x0edf('0x4'),auth[_0x0edf('0x3')](),controller['show']);router[_0x0edf('0x5')]('/',auth[_0x0edf('0x3')](),controller[_0x0edf('0x6')]);router['put'](_0x0edf('0x4'),auth[_0x0edf('0x3')](),controller[_0x0edf('0x7')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x0edf('0x8')]);module[_0x0edf('0x9')]=router;
\ No newline at end of file
+var _0xb73b=['delete','destroy','exports','express','Router','../../components/auth/service','isAuthenticated','index','get','/:id','show','post','create','put','update'];(function(_0x257b0e,_0x563d7e){var _0x27ac2a=function(_0x3a4bbc){while(--_0x3a4bbc){_0x257b0e['push'](_0x257b0e['shift']());}};_0x27ac2a(++_0x563d7e);}(_0xb73b,0x198));var _0xbb73=function(_0x5293c8,_0xab0c3c){_0x5293c8=_0x5293c8-0x0;var _0x3623fb=_0xb73b[_0x5293c8];return _0x3623fb;};'use strict';var express=require(_0xbb73('0x0'));var router=express[_0xbb73('0x1')]();var auth=require(_0xbb73('0x2'));var controller=require('./pm2.controller');router['get']('/',auth[_0xbb73('0x3')](),controller[_0xbb73('0x4')]);router[_0xbb73('0x5')](_0xbb73('0x6'),auth[_0xbb73('0x3')](),controller[_0xbb73('0x7')]);router[_0xbb73('0x8')]('/',auth[_0xbb73('0x3')](),controller[_0xbb73('0x9')]);router[_0xbb73('0xa')](_0xbb73('0x6'),auth[_0xbb73('0x3')](),controller[_0xbb73('0xb')]);router[_0xbb73('0xc')](_0xbb73('0x6'),auth[_0xbb73('0x3')](),controller[_0xbb73('0xd')]);module[_0xbb73('0xe')]=router;
\ No newline at end of file