Hello in laravel resource i have two views one is admin and users folder i can access both without any problem admin moves me to dashboard and users will access my default. here for accessing dashboard.
Route::get('admin/dash', function () {
return view('dashboard');
});
but in admin folder inside views i created
secondpage.balde.php
file which contains users info and in web routes i defined this
Route::get('userss', 'UsersController@show');
from admin dashboard when i goto userManagement or secondpage.blade.php using
<a class="p-2 text-white" href="userss">Manage Users</a>
artisan command to list routes works perfectly
| | GET|HEAD | userss | | App\Http\Controllers\UsersController@show | web
laravel returns 404 | Not found. thanks
Folder Structure
resources have two folders admin and users. admin has views folder inside it users have views folder inside it generally resources**/admin/views** and /users/views the problem is accessing inside resources/admin/views