Skip to content

Commit

Permalink
πŸ› fix super class loading error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaLMoore committed Oct 3, 2023
1 parent fae3cc2 commit 810b3f4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/presenters/hyrax/generic_work_presenter_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

# Generated via
# `rails generate hyrax:work GenericWork`
module Hyrax
class GenericWorkPresenter < Hyku::WorkShowPresenter
delegate :aark_id, :abstract, :date_issued, :alt, :part_of, :place_of_publication, :remote_url, to: :solr_document
end
end
# module Hyrax
# class GenericWorkPresenter < Hyku::WorkShowPresenter
# delegate :aark_id, :abstract, :date_issued, :alt, :part_of, :place_of_publication, :remote_url, to: :solr_document
# end
# end

Hyrax::GenericWorkPresenter.delegate :aark_id, :abstract, :date_issued, :alt, :part_of, :place_of_publication, :remote_url, to: :solr_document

0 comments on commit 810b3f4

Please sign in to comment.