From 1b356e1cb3091e739a9ebba9ace628c088866781 Mon Sep 17 00:00:00 2001 From: Casey Dune Rey Balantac <53940672+Cashew13@users.noreply.github.com> Date: Sat, 10 Oct 2020 11:50:32 +0800 Subject: [PATCH] Correct typo on Routing example The Routing example used "/projects/:[id]" as the route argument, but the comment above it states: "// Handles /users, /users/1, /users/2, etc.". This can cause confusion specially for those who are new to Aqueduct. --- source/docs/tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/tour.md b/source/docs/tour.md index b3760bbd5..40d488942 100644 --- a/source/docs/tour.md +++ b/source/docs/tour.md @@ -51,7 +51,7 @@ A [router](http/routing.md) determines which controller object should handle a r Controller get entryPoint { final router = Router(); - // Handles /users, /users/1, /users/2, etc. + // Handles /projects, /projects/1, /projects/2, etc. router .route("/projects/[:id]") .link(() => ProjectController());