diff --git a/aspnetcore/mvc/controllers/routing/samples/3.x/main/Controllers/MyDemo2Controller.cs b/aspnetcore/mvc/controllers/routing/samples/3.x/main/Controllers/MyDemo2Controller.cs index 30a8ae5f14..39adef026b 100644 --- a/aspnetcore/mvc/controllers/routing/samples/3.x/main/Controllers/MyDemo2Controller.cs +++ b/aspnetcore/mvc/controllers/routing/samples/3.x/main/Controllers/MyDemo2Controller.cs @@ -7,7 +7,7 @@ namespace RoutingSample.Controllers #if First #region snippet public class MyDemo2Controller : Controller - { + { [Route("/articles/{page}")] public IActionResult ListArticles(int page) {