Support the ongoing development of Laravel.io →
Eloquent Views
Last updated 2 years ago.
0

Hi,

you're using windows i presume?

windows isn't case sensitive, therefore your model User and your controller user is conflicting.

try changing your controller's class name to UserController.

Last updated 2 years ago.
0

Rename your user controller to UserController.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

toulmek toulmek Joined 5 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.