entrust icon indicating copy to clipboard operation
entrust copied to clipboard

Redirect user to unauthorized page

Open rehanaslam328 opened this issue 4 years ago • 0 comments

Hello guys, I have applied the role middleware on some routes in my project. Role for those particular routes is admin. I want to redirect other users to the unauthorized page. How can I add a custom error page and redirect the user to that page? I want to handle this exception.

rehanaslam328 avatar Jul 24 '20 10:07 rehanaslam328