-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1278da3
commit c8ab103
Showing
3 changed files
with
13 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
# Generated via | ||
# `rails generate hyrax:work_resource UncaWork` | ||
class UncaWork < Hyrax::Work | ||
include Hyrax::Schema(:basic_metadata) | ||
class UncaWork < Etd | ||
include Hyrax::Schema(:unca_work) | ||
include Hyrax::Schema(:with_pdf_viewer) | ||
include Hyrax::Schema(:with_video_embed) | ||
include Hyrax::ArResource | ||
include Hyrax::NestedWorks | ||
|
||
prepend OrderAlready.for(:creator) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
# OVERRIDE Hyku to delegate Mobius properties | ||
|
||
Hyku::WorkShowPresenter.delegate :rights, :relation, :coverage, :file_format, to: :solr_document | ||
Hyku::WorkShowPresenter.class_eval do | ||
delegate :date_published, to: :solr_document | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters