Skip to content
Discussion options

You must be logged in to vote

Hi @realtebo!

The prefix is working, the manager prefix is being added to the route;
manager/password/password-change-initial-password

What you want is the prefix for the name, and for that you use the name attribute on the route group;

Route::group([
	'name' => 'manager.'
    'prefix' => 'manager',
    'namespace'  => '\App\Http\Controllers\Manager',
    ...

You can check the documentation over here; https://laravel.com/docs/10.x/routing#route-group-name-prefixes

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by realtebo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants