FIX: Search was not multisite aware

This commit is contained in:
Robin Ward 2020-07-01 09:57:52 -04:00
parent 7bfbecad7e
commit 81ce3c8e50

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>