Skip to content

Commit ad63989

Browse files
committed
Fixes a bug with the search action path when using a virtual directory (#36)
1 parent 9a1d228 commit ad63989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

input/_navigation.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
<li class="nav-item">
1414
<span class="nav-link">
15-
<form class="form-inline my-2 my-lg-0" action="/search" method="GET">
15+
<form class="form-inline my-2 my-lg-0" action="@Context.GetLink("/search")" method="GET">
1616
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" name="query">
1717
<input type="submit" hidden />
1818
</form>

0 commit comments

Comments
 (0)