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

No hint path defined for <Module> on view render #52

Closed
ghost opened this issue Sep 19, 2016 · 2 comments
Closed

No hint path defined for <Module> on view render #52

ghost opened this issue Sep 19, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2016

Hi, I have setup my base composer.json to have and created a module called "Auth":

"psr-4": { "App\\": "app/", "Modules\\": "Modules/" }

But when I try to render the view: "auth::login" it gives me the following error: "No hint path defined for [Auth]."

I understand that this is composer PSR-4 related error, however, I don't know how to fix it.

Do you have any ideas? I am running Laravel 5.3

@Schweppesale
Copy link
Contributor

Schweppesale commented Sep 19, 2016

Verify that you've registered a path for the "auth" namespace in one of your service providers:

$this->loadViewsFrom(__DIR__.'/path/to/views', 'auth');

https://laravel.com/docs/5.3/packages#views

@ghost
Copy link
Author

ghost commented Sep 20, 2016

I seem to have overwritten the AuthProvider, works now. Thank you! :)

@ghost ghost closed this as completed Sep 21, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant