You can simply apply two (auth|admin) filters to your admin routes.
And in admin
filter, just check if user is a admin because log in is already checked by auth filter.
Thank you, I should have payed more attention to the documentation :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community