Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / pm2 / index.js
index a766838..665ed96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x79b9=['Router','index','get','isAuthenticated','show','put','/:id','update','delete','express'];(function(_0x3db443,_0x159906){var _0x72c74f=function(_0x42217d){while(--_0x42217d){_0x3db443['push'](_0x3db443['shift']());}};_0x72c74f(++_0x159906);}(_0x79b9,0x1cb));var _0x979b=function(_0x57fc2a,_0x14bbe5){_0x57fc2a=_0x57fc2a-0x0;var _0xa839b=_0x79b9[_0x57fc2a];return _0xa839b;};'use strict';var express=require(_0x979b('0x0'));var router=express[_0x979b('0x1')]();var auth=require('../../components/auth/service');var controller=require('./pm2.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x979b('0x2')]);router[_0x979b('0x3')]('/:id',auth[_0x979b('0x4')](),controller[_0x979b('0x5')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x979b('0x6')](_0x979b('0x7'),auth[_0x979b('0x4')](),controller[_0x979b('0x8')]);router[_0x979b('0x9')](_0x979b('0x7'),auth[_0x979b('0x4')](),controller['destroy']);module['exports']=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