Added redirect parameter to quick search function

- Also fixed quick search parameter on wiki pages
This commit is contained in:
BrokenEagle
2020-01-25 20:32:33 +00:00
parent 75ac11166c
commit 217f5e6c81
5 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:name_matches, users_path, "users", autocomplete: "user") %>
<%= quick_search_form_for(:name_matches, users_path, "users", autocomplete: "user", redirect: true) %>
<%= subnav_link_to "Listing", users_path %>
<%= subnav_link_to "Search", search_users_path %>