Replies: 2 comments 1 reply
-
@reinink I appreciate your feedback :-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey! The Inertia Laravel adapter automatically does a "redirect back" in the instance that no other response is returned from a controller endpoint. You can read more about this feature in our release notes, here: https://github.com/inertiajs/inertia-laravel/releases/tag/v0.6.0 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to understand how Inertia handles server redirects.
In the docs, the following is mentioned:
For instance, in Laravel, when trying to reset the password, the user clicks on the "Email Reset Link". This action on the server does a
back()->with()
. I've studied this request inside DevTools and I can see a 302 Response with a Location response header.It seems Inertia is intercepting this and requesting the Location but I am not able to understand where it's doing this in the source code.
Appreciate your help,
Bill
Beta Was this translation helpful? Give feedback.
All reactions