Skip to content

Commit

Permalink
Merge pull request #2056 from samvera/i35-remove-deprecated-blackligh…
Browse files Browse the repository at this point in the history
…t-code

🧹 Remove deprecated Blacklight code
  • Loading branch information
ShanaLMoore authored Dec 14, 2023
2 parents fe54004 + 306b893 commit 5177c95
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/controllers/hyrax/contact_form_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class ContactFormController < ApplicationController
# OVERRIDE: Hyrax v3.4.0 Add for theming
# Adds Hydra behaviors into the application controller
include Blacklight::SearchContext
include Blacklight::SearchHelper
include Blacklight::AccessControls::Catalog
before_action :build_contact_form
layout 'homepage'
Expand Down
1 change: 0 additions & 1 deletion app/controllers/hyrax/homepage_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module Hyrax
class HomepageController < CatalogController
# Adds Hydra behaviors into the application controller
include Blacklight::SearchContext
include Blacklight::SearchHelper
include Blacklight::AccessControls::Catalog

# OVERRIDE: account for Hyku themes
Expand Down
1 change: 0 additions & 1 deletion app/controllers/hyrax/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class PagesController < ApplicationController
# OVERRIDE: Hyrax v3.4.0 Add for theming
# Adds Hydra behaviors into the application controller
include Blacklight::SearchContext
include Blacklight::SearchHelper
include Blacklight::AccessControls::Catalog

# OVERRIDE: Adding inject theme views method for theming
Expand Down
1 change: 0 additions & 1 deletion app/controllers/search_history_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
class SearchHistoryController < ApplicationController
include Blacklight::SearchHistory
helper BlacklightAdvancedSearch::RenderConstraintsOverride
helper BlacklightRangeLimit::ViewHelperOverride
helper RangeLimitHelper
end

0 comments on commit 5177c95

Please sign in to comment.