Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with default User Model #4

Open
dropoutninja opened this issue Mar 27, 2018 · 3 comments
Open

Problem with default User Model #4

dropoutninja opened this issue Mar 27, 2018 · 3 comments

Comments

@dropoutninja
Copy link

dropoutninja commented Mar 27, 2018

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.

@broken-frequency
Copy link

broken-frequency commented Apr 4, 2018

I'm having the same problem.It says instance of string was given. Any solution?

@ajitbohra
Copy link
Member

@dropoutninja @kranthihunter007 thanks for reporting currently it's coupled to App\Users we will update that to be flexible fix will be released asap.

@sunnyexchange4media
Copy link

is it fixed or not? what is the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants