Skip to content

Minor typo in routes.md #337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion versioned_docs/version-4.0.0/usage/routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Routes must be defined as objects containing:
* __`variants`__ _(Array)_: Array of variants. Each variant usually defines a different response to be sent when the route is requested.

:::info
__Depending on the variant type, the format of the variants may differ__. In the next examples we'll see ho to define a variant of type `json`, which sends a JSON response. For further info about how to define variants [read the next chapter](./variants.md).
__Depending on the variant type, the format of the variants may differ__. In the next examples we'll see how to define a variant of type `json`, which sends a JSON response. For further info about how to define variants [read the next chapter](./variants.md).
:::

```mdx-code-block
Expand Down