TimothyMendezFeliciano / mesero

1 stars 0 forks source link

18 re route admin #19

Closed TimothyMendezFeliciano closed 3 months ago

TimothyMendezFeliciano commented 3 months ago

modify the requireAuth endpoint. If the url contains dashboard and user is OWNER, redirect to dashboard/admin As a bonus added the employee route