If I understand your code correctly you are trying to set up two routes with the same URL that point to different locations. That won't work since (for Laravel) it's the same thing, the end URL is always a POST request to /auth/register .
You'll have to use different URLs or check another way which controller to show.
ftiersch said:
If I understand your code correctly you are trying to set up two routes with the same URL that point to different locations. That won't work since (for Laravel) it's the same thing, the end URL is always a POST request to /auth/register .
You'll have to use different URLs or check another way which controller to show.
Solved!! Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community