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

@@ -297,7 +297,6 @@ Rails.application.routes.draw do
end
resources :wiki_pages, id: /.+?(?=\.json|\.xml|\.html)|.+/ do
put :revert, on: :member
get :search, on: :collection
get :show_or_new, on: :collection
end
resources :wiki_page_versions, :only => [:index, :show, :diff] do