Support the ongoing development of Laravel.io →
posted 6 years ago
Last updated 2 years ago.
0

There is no route named 'replyf'. Check the docs on routing for 'named routes' and it will describe how to name them. The URI/path is not the name.

Last updated 6 years ago.
0

simply make your route like

Route::get('/user', 'UserController@index');

Route::get('user/profile', function () { // })->name('profile'); You may also specify route names for controller actions:

Route::get('user/profile', 'UserController@showProfile')->name('profile')

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2024 Laravel.io - All rights reserved.