Skip to content

Commit f51f01d

Browse files
fix: route error page chapter link to first chapter
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/6b13d96a-7257-4f57-984d-9d59b791e7f7 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
1 parent 18bfd8e commit f51f01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EssentialCSharp.Web/Views/Home/Error.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
<div class="d-flex gap-2">
1818
<a href="/home" class="btn btn-primary">Go Home</a>
19-
<a href="/" class="btn btn-outline-primary">Browse Chapters</a>
19+
<a href="/hello-world" class="btn btn-outline-primary">Browse Chapters</a>
2020
<button type="button" class="btn btn-secondary"
2121
onclick="if(history.length > 1){ history.back(); } else { window.location='/home'; }">
2222
Go Back

0 commit comments

Comments
 (0)