Merge pull request #4270 from BrokenEagle/universal-index-redirect

Add universal index redirect
This commit is contained in:
evazion
2020-01-25 14:52:52 -06:00
committed by GitHub
10 changed files with 64 additions and 26 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 %>