Answer the question
In order to leave comments, you need to log in
Why are named links not working in laravel 7?
I registered several routes in routes/web.php, in the usual writing everything works, as soon as I added name links, a 404 error, and for other routes, name links work properly, what's wrong?
the code:
Route::get('/digital-poligrafiya', function () {
return view('digital-poligrafiya');
})->name('poligrafiya');
<a href="{{route('poligrafiya')}}" class="mt-4 btn btn-lg btn-block btn-primary" role="button">Подробнее</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question