Try creating a Route group with your auth middleware.
All routes in the group will be protected.
I was using route groups, so I have added it in there and it works fine :). Thanks for your help.
I'm still a bit confused about why I had to use a workaround though. Unless the fact that I am using route groups is the problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community