-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Custom 404 Page #99
Comments
totally 👍 nothing special should be needed here - Laravel looks for custom error pages within an |
Well considering that all of the theme files are hosted in their own folders (themes/ThemeName), and the errors folder must be included in the resources/views folder, that's not really the case. Meaning, if I switch themes, it will still default to the resources/views/errors/404.blade.php file, which does not change when I switch the current theme. I tried creating an errors folder within the theme folder and it still defaults to the resources/views/errors folder rather than the current theme. I was able to get around this by using @include('errors.404) in the resources/errors/404.blade.php file, but this is more like a hack than anything else. |
Hmm, I see what you mean. It does look like Laravel handles resolving these views a little differently than everything else. I'll have to look in to how to override/extend that here. Re-opening 👍 |
Taken care of in v7.1.0 👍 |
How can I set a custom 404 page using the current theme? Is this possible?
The text was updated successfully, but these errors were encountered: