summaryrefslogtreecommitdiff
path: root/Views/Home
diff options
context:
space:
mode:
Diffstat (limited to 'Views/Home')
-rw-r--r--Views/Home/Index.cshtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml
index 5cc07f3..2d3a4b4 100644
--- a/Views/Home/Index.cshtml
+++ b/Views/Home/Index.cshtml
@@ -1,4 +1,6 @@
@model IQueryable<MyDarling.Models.UnderwearBundle>;
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+
@{
Layout = "_Layout";
}
@@ -58,7 +60,7 @@
{
<div class="col mb-5">
<div class="card h-100">
- <a href="/bundle/show/@bundle.Id"><img class="card-img-top"
+ <a asp-controller="Bundle" asp-action="Show" asp-route-id="@bundle.Id"><img class="card-img-top"
src="@bundle.Figures.FirstOrDefault()?.FilePath" alt="..." /></a>
<div class="card-body p-4">
<div class="text-center">