Skip to content

Commit

Permalink
🧹 Remove deprecated Blacklight code
Browse files Browse the repository at this point in the history
removing the deprecated blacklight code allows the specs to run. We should consider if finding a replacement is necessary in the following ticket:

- scientist-softserv/hykuup_knapsack#54

Issue:
- scientist-softserv/hykuup_knapsack#35
  • Loading branch information
ShanaLMoore committed Dec 14, 2023
1 parent fe54004 commit 306b893
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 306b893

Please sign in to comment.