Laravel 8 Error 404 appears but view already exist - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Sunday, March 13, 2022

Laravel 8 Error 404 appears but view already exist

Error 404|Not Found appears when i want to return a view. According to the documentation I defined everything well but it does not works ToT. Please help!

Button:

<a class="btn btn-gradient-03 mr-1 mb-2" href="">Import Database</a>

Route:

Route::get('/seeds/import', 'App\Http\Controllers\web\v1\SeedController@import')->name('seeds.import');

Controller:

public function import()
{
    return view('seeds.import');
}

The view path is views\seeds\import.blade.php and the route appears on route:list.

I hope you can help me, thanks!



source https://stackoverflow.com/questions/71452074/laravel-8-error-404-appears-but-view-already-exist

No comments:

Post a Comment