From 8f2335a2f43fb0576199fbd7557be4e62170a473 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Thu, 2 Nov 2017 10:52:08 -1000 Subject: [PATCH] Update da1.md --- aspnetcore/tutorials/razor-pages/da1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/tutorials/razor-pages/da1.md b/aspnetcore/tutorials/razor-pages/da1.md index 3a8b8852df..19deb6b613 100644 --- a/aspnetcore/tutorials/razor-pages/da1.md +++ b/aspnetcore/tutorials/razor-pages/da1.md @@ -60,7 +60,7 @@ Use **View Source** from your favorite browser to examine the generated markup. The dynamically-generated links pass the movie ID with a query string (for example, `http://localhost:5000/Movies/Details?id=2` ). -Update the Edit, Details, and Delete Razor Pages to use the "{id:int}" route template. Change the page directive for each of these pages to `@page "{id:int}"`. Run the app and then view source. The generated HTML adds the ID to the path portion of the URL: +Update the Edit, Details, and Delete Razor Pages to use the "{id:int}" route template. Change the page directive for each of these pages from `@page` to `@page "{id:int}"`. Run the app and then view source. The generated HTML adds the ID to the path portion of the URL: ```html