1 month ago

Laravel 8 - route controller never loads

Posted 1 month ago by TerrePorter

I have a new install but for some reason the i cant seem to get any other route to function, except the jetstream routes those work.

Route::get('test', function () {
    echo 'test';

use App\Http\Controllers\IndexController;
Route::get('test2', [IndexController::class, 'test2']);

both of these return 404 not found.

I have yet to figure out why.

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