From 9ccf8cab3bb2bcba55a391cb0661d30776a46100 Mon Sep 17 00:00:00 2001 From: Artem Solomatin Date: Mon, 20 Nov 2023 12:54:04 +0300 Subject: [PATCH] Fix few grammar issues in Router docs (#5640) --- lib/phoenix/router.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/phoenix/router.ex b/lib/phoenix/router.ex index 2324d3346b..4abb0aa377 100644 --- a/lib/phoenix/router.ex +++ b/lib/phoenix/router.ex @@ -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. @@ -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`.