Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / api / cmCustomField / index.js
1 const a135_0x2212=['index','/:id','../../components/auth/service','Router','isAuthenticated','update','./cmCustomField.controller','create','delete','destroy','get','express'];(function(_0x21401a,_0x2212b2){const _0x5aec88=function(_0x3433a1){while(--_0x3433a1){_0x21401a['push'](_0x21401a['shift']());}};_0x5aec88(++_0x2212b2);}(a135_0x2212,0x1b3));const a135_0x5aec=function(_0x21401a,_0x2212b2){_0x21401a=_0x21401a-0x0;let _0x5aec88=a135_0x2212[_0x21401a];return _0x5aec88;};const _0x2fb1a9=a135_0x5aec;'use strict';const express=require(_0x2fb1a9('0x8')),router=express[_0x2fb1a9('0x0')](),auth=require(_0x2fb1a9('0xb')),controller=require(_0x2fb1a9('0x3'));router[_0x2fb1a9('0x7')]('/',auth[_0x2fb1a9('0x1')](),controller[_0x2fb1a9('0x9')]),router[_0x2fb1a9('0x7')](_0x2fb1a9('0xa'),auth[_0x2fb1a9('0x1')](),controller['show']),router['post']('/',auth[_0x2fb1a9('0x1')](),controller[_0x2fb1a9('0x4')]),router['put']('/:id',auth[_0x2fb1a9('0x1')](),controller[_0x2fb1a9('0x2')]),router[_0x2fb1a9('0x5')](_0x2fb1a9('0xa'),auth[_0x2fb1a9('0x1')](),controller[_0x2fb1a9('0x6')]),module['exports']=router;