Randy_Johnson
3 months ago
168
1
General

Route is not defined

Posted 3 months ago by Randy_Johnson

I am trying to redirect to read users but I am having issues finding it, I think maybe it is something to do with the middleware.

Route::get('/read-users', '[email protected]')->middleware('admin');
return redirect()->route('read-user');
Route [admin] not defined.

Please sign in or create an account to participate in this conversation.