Skip to content

Commit

Permalink
Merge pull request #929 from scientist-softserv/i911-video-embed-ETD
Browse files Browse the repository at this point in the history
🎁 I911 Video Embed: ETD work type
  • Loading branch information
Shana Moore authored Dec 7, 2023
2 parents 5fc39fc + 4f80c88 commit d74f423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/forms/hyrax/etd_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class EtdForm < Hyrax::Forms::WorkForm
self.model_class = ::Etd
include HydraEditor::Form::Permissions
include PdfFormBehavior
include VideoEmbedFormBehavior

self.terms = [:admin_note] + self.terms # rubocop:disable Style/RedundantSelf
self.terms += [
Expand Down
1 change: 1 addition & 0 deletions app/models/etd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Etd < ActiveFedora::Base
pdf_splitter_service: IiifPrint::TenantConfig::PdfSplitter
)
include PdfBehavior
include VideoEmbedBehavior

self.indexer = EtdIndexer
# Change this to restrict which works can be added as a child.
Expand Down

0 comments on commit d74f423

Please sign in to comment.