Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 Remove deprecated Blacklight code #2056

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading