-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Return Redirect on Middleware not showing Error type #145
Comments
Hey @rohi1386, Please try the below command. composer dump-autoload OR php artisan cache:clear |
Thanks but it didn't work |
It happend to me too, I even tried
|
Description:
After following the documentation, when returning/redirecting from middleware the error type does not show the sweetalert. I tried with types success, info, question and warning, they all work.
Steps To Reproduce:
Setup middleware and add ->with('warning', 'Whoops!'); to the return or redirect. It does not show the sweetalert. Test again using ->with('info', 'Whoops!'); and it does work.
(Disclaimer, I am a new to php and laravel so I may be missing something)
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: