DEV Community

Discussion on: Laravel 8 Tutorial #3: The MVC Structure

Collapse
rsevero profile image
Rodrigo Severo

To make the first "IndexController" example work, I had to include "use App\Http\Controllers\IndexController;" at the top of my "web.php" file.

Is it really necessary or am I doing something wrong?