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