generated from PDMLab/AspNetCoreMvcHtmxTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: shorten view references, rename controller to match vsa style
- Loading branch information
1 parent
b6bcd0f
commit 6d5fc40
Showing
6 changed files
with
16 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace AspNetCoreMvcHtmx.Features.GetHome; | ||
|
||
public class GetHomeController(ILogger<GetHomeController> logger) : Controller | ||
{ | ||
private readonly ILogger<GetHomeController> _logger = logger; | ||
|
||
public IActionResult GetHome() => View(); | ||
} |
1 change: 0 additions & 1 deletion
1
...NetCoreMvcHtmx/Features/Home/Index.cshtml → ...reMvcHtmx/Features/GetHome/GetHome.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
@{ | ||
Layout = "~/Layouts/_Layout.cshtml"; | ||
ViewData["Title"] = "Home Page"; | ||
} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@{ | ||
Layout = "~/Layouts/_Layout.cshtml"; | ||
Layout = "_Layout"; | ||
} |