Skip to content

Commit

Permalink
adding deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
hudajkhan committed Sep 23, 2024
1 parent ce8367e commit 5602b2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/shared/_header_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<%= render blacklight_config.header_component.new(blacklight_config: blacklight_config) %>
<% else %>
<%= render Spotlight::HeaderComponent.new(blacklight_config: blacklight_config) %>
<% ActiveSupport::Deprecation.new('5.0', 'Spotlight').warn("_header_navbar.html.erb will be deprecated in future versions. Please use Blacklight configuration to specify your HeaderComponent.") %>
<% end %>

0 comments on commit 5602b2f

Please sign in to comment.