Konstruktionsplan
1 month ago
257
6
Laravel

Controller?!?!

Posted 1 month ago by Konstruktionsplan

Hello!

(Laravel 8)

Controller:

<?php

namespace App\Http\Controllers;

class HomeController extends Controller
{
    public function index()
    {
     dd("drin");
    }
}

Route:

// Root
    Route::name('home.')->group(function () {
        Route::get('/', '[email protected]')->name('index');
});
Target class [HomeController] does not exist.

WTF?

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