Support the ongoing development of Laravel.io →
Blade Laravel Routing

I try to display a view but I get a 404 not found error, but my code seems correct. I have version 8.67 of laravel

this is the route created Route::get('/talk',[TalkController::class,'index'])->name('talk.index');

the controller

class TalkController extends Controller { public function index() { return view('talk'); } } my view is in resources/views/talk.blade.php

Last updated 3 years ago.
0
moderator

Hello Arsene2014,

Do you visit the url domain.tld/talk?

0

Clear all cache. then try

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Elbie arsene2014 Joined 8 Sep 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.