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, pools_path, "pools", autocomplete: "pool") %>
<%= quick_search_form_for(:name_matches, pools_path, "pools", autocomplete: "pool", redirect: true) %>
<%= subnav_link_to "Gallery", gallery_pools_path %>
<%= subnav_link_to "Listing", pools_path %>
<%= subnav_link_to "New", new_pool_path %>