Skip to content

Problem with default User Model #4

@dropoutninja

Description

@dropoutninja

In my project, the User model is in App/Models directory. So passing let's say Auth::user(), to giveMeFormUrl function, shows this error:

"Type error: Argument 1 passed to Lubusin\Mojo\Mojo::giveMeFormUrl() must be an instance of 

App\User, instance of App\Models\User given, ".

How can i solve this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions