f2efd964a56396e2887a58b5f6172e6b67c2cc91
[motion-next.git] / server / api / tag / index.js
1 const a620_0x2abe=['put','get','/:id','delete','isAuthenticated','./tag.controller','express','../../components/auth/service','update','destroy','Router'];(function(_0x22612b,_0x2abe8a){const _0x3abfe0=function(_0x3a3f37){while(--_0x3a3f37){_0x22612b['push'](_0x22612b['shift']());}};_0x3abfe0(++_0x2abe8a);}(a620_0x2abe,0x14c));const a620_0x3abf=function(_0x22612b,_0x2abe8a){_0x22612b=_0x22612b-0x0;let _0x3abfe0=a620_0x2abe[_0x22612b];return _0x3abfe0;};const _0x915cb5=a620_0x3abf;'use strict';const express=require(_0x915cb5('0x4')),router=express[_0x915cb5('0x8')](),auth=require(_0x915cb5('0x5')),controller=require(_0x915cb5('0x3'));router['get']('/',auth[_0x915cb5('0x2')](),controller['index']),router[_0x915cb5('0xa')](_0x915cb5('0x0'),auth[_0x915cb5('0x2')](),controller['show']),router['post']('/',auth[_0x915cb5('0x2')](),controller['create']),router[_0x915cb5('0x9')]('/:id',auth[_0x915cb5('0x2')](),controller[_0x915cb5('0x6')]),router[_0x915cb5('0x1')](_0x915cb5('0x0'),auth['isAuthenticated'](),controller[_0x915cb5('0x7')]),module['exports']=router;