5 months ago

Laravel prefix route not found

Posted 5 months ago by adeguntoro

I have 2 project, one is using Laravel 6.12.0 and the other is 7.12.0. After installing Laravel, i copy simpel example about prefix routing from laravel website. Lara6 show error 404, while lara7 success. My project on Lara6 80% almost done. But why this prefix route show me error 404 ? This is the code

Route::prefix('admin')->group(function () {
    Route::get('users', function () {
        Echo 'Matches The "/admin/users" URL';

Please sign in or create an account to participate in this conversation.