Your logout line has a typo.
Aurh::logout();
Should be:
Auth:logout();
Are you using any javascript at all to intercept the click? Do you have any middleware applied to it?
I can't see anything that wouldn't work unless you didn't import the classes.
When you log out, does it actually log the user out, but the redirect isn't working? Or does the user not log out either?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community