An URL is generated from a view like this
(http://127.0.0.1:8000/mypage?view=id)
where id= variable
I want to deny access to the url if someone tries to access the page without the variable. Something like this (http://127.0.0.1:8000/mypage)
Current Route for the blade is:
Route::get(‘/mypage’, [PageController::class, ‘pageFunction’]);