Support the ongoing development of Laravel.io →
Input Views Blade
Last updated 2 years ago.
0

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.

0

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

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

sentiasa sentiasa Joined 21 Jul 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.