diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d7ee19b4e..09d85d0b1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,10 +2,4 @@ module ApplicationHelper def absolute_url_for(path) URI.join(Plek.new.website_root, path) end - - def search_component - use_autocomplete = true unless ENV["GOVUK_DISABLE_SEARCH_AUTOCOMPLETE"] - - use_autocomplete ? "search_with_autocomplete" : "search" - end end diff --git a/app/views/finders/show_all_content_finder.html.erb b/app/views/finders/show_all_content_finder.html.erb index 484de1ac8..f7a6b74e8 100644 --- a/app/views/finders/show_all_content_finder.html.erb +++ b/app/views/finders/show_all_content_finder.html.erb @@ -53,7 +53,7 @@