wiki pages: remove /wiki_pages/search page.

This page is unnecessary since you can already search wiki pages from the /wiki_pages listing.
This commit is contained in:
evazion
2022-08-24 13:37:58 -05:00
parent bccd1bf8a3
commit d01b3c0637
6 changed files with 1 additions and 23 deletions

View File

@@ -1,7 +1,6 @@
<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:title_normalize, wiki_pages_path, "wiki pages", autocomplete: "wiki-page", redirect: true) %>
<%= subnav_link_to "Listing", wiki_pages_path %>
<%= subnav_link_to "Search", search_wiki_pages_path %>
<%= subnav_link_to "Search", wiki_pages_path %>
<% if policy(WikiPage).new? %>
<%= subnav_link_to "New", new_wiki_page_path %>
<% end %>

View File

@@ -1,7 +0,0 @@
<div id="c-wiki-pages">
<div id="a-search">
<%= render "search" %>
</div>
</div>
<%= render "secondary_links" %>