Skip to content

Commit

Permalink
Fix few grammar issues in Router docs (#5640)
Browse files Browse the repository at this point in the history
  • Loading branch information
solar05 authored Nov 20, 2023
1 parent 7de3ea0 commit 9ccf8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phoenix/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ defmodule Phoenix.Router do
@doc """
Generates a route match based on an arbitrary HTTP method.
Useful for defining routes not included in the builtin macros.
Useful for defining routes not included in the built-in macros.
The catch-all verb, `:*`, may also be used to match all HTTP methods.
Expand All @@ -702,7 +702,7 @@ defmodule Phoenix.Router do
* `:metadata` - a map of metadata used by the telemetry events and returned by
`route_info/4`
* `:warn_on_verify` - the boolean for whether matches to this route trigger
an unmatched route warning for `Phoenix.VerifiedRoutes`. Useful to ignore
an unmatched route warning for `Phoenix.VerifiedRoutes`. It is useful to ignore
an otherwise catch-all route definition from being matched when verifying routes.
Defaults `false`.
Expand Down

0 comments on commit 9ccf8ca

Please sign in to comment.