You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. I was looking at the $middlewarePriority property in Kernel but I don't feel like overriding it. So I end up created another $middlewareGroups just for PJAX enabled routes
I have a middleware only apply to a controller but I want my middleware to execute before pjax's middleware.
Example code of my middleware:
The purpose of my middleware is to disable PJAX and redirect with normal request if my session variable is empty.
Do you have any idea to achieve this?
The text was updated successfully, but these errors were encountered: