url; if (in_array($url, $urlsForAdmin)) { if (!$isAdmin) { app()->route->redirect('/hello'); } } } }