Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 6, 2023
1 parent 5a1001b commit a6473d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions app/helpers/blacklight/blacklight_helper_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,4 @@ def with_format(format)
self.formats = old_formats
nil
end

# @return [Class]
def search_bar_presenter_class
blacklight_config.view_config(action_name: :index).search_bar_presenter_class
end
end
4 changes: 0 additions & 4 deletions lib/blacklight/configuration/view_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ class ViewConfig < Blacklight::OpenStructWithHashAccess
# @return [Class] component class used to render the search bar
# @!attribute search_header_component
# @return [Class] component class used to render the header above the documents
def search_bar_presenter_class
super || Blacklight::SearchBarPresenter
end

def display_label(**options)
I18n.t(
:"blacklight.search.view_title.#{key}",
Expand Down

0 comments on commit a6473d6

Please sign in to comment.