FIX: Search was not multisite aware

This commit is contained in:
Robin Ward 2020-07-01 09:57:52 -04:00
parent 01a722885d
commit e0d2174e75
1 changed files with 1 additions and 1 deletions

View File

@ -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>