-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
view()->composer(['errors.404'] not working #20953
Comments
quick fix in App\Exceptions\Handler.php render method
this will render the correct view with correct data injected |
use |
@themsaid useful comment ever! |
you saved my life and time 😄 thank you so much |
thanks a lot. but...why..... |
Its works for me the coment of @themsaid, |
Description:
The title var is not defined in views/errors/404.blade.php
Steps To Reproduce:
insert this code in AppServiceProvider->boot()
try to print $title in /views/errors/404.blade.php
The text was updated successfully, but these errors were encountered: