Skip to content

Commit

Permalink
refactor: load home view on route /
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexZeitler committed Apr 14, 2024
1 parent 05754d6 commit 8603f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AspNetMartenHtmxVsa/Features/GetHome/GetHome.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ public class GetHomeController(ILogger<GetHomeController> logger) : Controller
{
private readonly ILogger<GetHomeController> _logger = logger;

[HttpGet("/")]
public IActionResult GetHome() => View();
}

0 comments on commit 8603f05

Please sign in to comment.