mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 18:15:58 +08:00
FIX: Search was not multisite aware
This commit is contained in:
parent
7bfbecad7e
commit
81ce3c8e50
|
@ -17,7 +17,7 @@
|
||||||
<div class="page-not-found-search">
|
<div class="page-not-found-search">
|
||||||
<h2><%= t 'page_not_found.search_title' %></h2>
|
<h2><%= t 'page_not_found.search_title' %></h2>
|
||||||
<p>
|
<p>
|
||||||
<form action='/search' id='discourse-search'>
|
<form action='<%= path "/search" %>' id='discourse-search'>
|
||||||
<input type="text" name="q" value="<%= @slug %>">
|
<input type="text" name="q" value="<%= @slug %>">
|
||||||
<button class="btn btn-primary"><%= t 'page_not_found.search_button' %></button>
|
<button class="btn btn-primary"><%= t 'page_not_found.search_button' %></button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user