9a1c67d29b0896dc526b3e5bc90ce9302245bd58
[motion-next.git] / server / api / variable / index.js
1 const a695_0x58f3=['delete','Router','express','get','../../components/auth/service','isAuthenticated','put','show','/:id','update','post','create'];(function(_0x285159,_0x58f37b){const _0x45e79d=function(_0x183ea9){while(--_0x183ea9){_0x285159['push'](_0x285159['shift']());}};_0x45e79d(++_0x58f37b);}(a695_0x58f3,0xa9));const a695_0x45e7=function(_0x285159,_0x58f37b){_0x285159=_0x285159-0x0;let _0x45e79d=a695_0x58f3[_0x285159];return _0x45e79d;};const _0x38459b=a695_0x45e7;'use strict';const express=require(_0x38459b('0x1')),router=express[_0x38459b('0x0')](),auth=require(_0x38459b('0x3')),controller=require('./variable.controller');router[_0x38459b('0x2')]('/',auth[_0x38459b('0x4')](),controller['index']),router[_0x38459b('0x2')](_0x38459b('0x7'),auth[_0x38459b('0x4')](),controller[_0x38459b('0x6')]),router[_0x38459b('0x9')]('/',auth[_0x38459b('0x4')](),controller[_0x38459b('0xa')]),router[_0x38459b('0x5')]('/:id',auth[_0x38459b('0x4')](),controller[_0x38459b('0x8')]),router[_0x38459b('0xb')](_0x38459b('0x7'),auth[_0x38459b('0x4')](),controller['destroy']),module['exports']=router;