Skip to content

Commit d872952

Browse files
authored
Fix API search for Play1
1 parent b83eccd commit d872952

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/documentation/v1.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@for(version <- context.version) {
1515
<form id="search" method="get" action="//www.google.com/search">
1616
<input type="search" name="q" placeholder="Search @version docs" results="10">
17-
<input type="hidden" name="sitesearch" value="@req.host@reverseRouter.home(context.alternateLang, version.name)">
17+
<input type="hidden" name="sitesearch" value="site:playframework.com@reverseRouter.home(context.alternateLang, version.name)">
1818
<button type="submit">Search</button>
1919
</form>
2020
}

0 commit comments

Comments
 (0)