Skip to content

Commit 01c2ca4

Browse files
committed
Update redirects.mdx
1 parent 89f832b commit 01c2ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v1/the-basics/redirects.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Redirects
44

55
<Warning>This is documentation for Inertia.js v1, which is no longer actively maintained. Please refer to the [v2 docs](/v2) for the latest information.</Warning>
66

7-
{/* When making a non-GET Inertia request manually or via a `{`<a>`}</a>` element, you should ensure that you always respond with a proper Inertia redirect response. */}
7+
When making a non-GET Inertia request manually or via a `<Link>` element, you should ensure that you always respond with a proper Inertia redirect response.
88

99
For example, if your controller is creating a new user, your "store" endpoint should return a redirect back to a standard `GET` endpoint, such as your user "index" page. Inertia will automatically follow this redirect and update the page accordingly.
1010

0 commit comments

Comments
 (0)