From 8742db199265357c9bbb1f6b21092c9b903c307f Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Wed, 24 Jan 2024 17:06:02 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Adding=20to=5Frdf=5Frepres?= =?UTF-8?q?entation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/concerns/hyrax/work_behavior.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/concerns/hyrax/work_behavior.rb b/app/models/concerns/hyrax/work_behavior.rb index 72da66ed73..dfcbd7d0bc 100644 --- a/app/models/concerns/hyrax/work_behavior.rb +++ b/app/models/concerns/hyrax/work_behavior.rb @@ -30,6 +30,10 @@ module WorkBehavior self.default_system_virus_scanner = Hyrax::VirusScanner end + def to_rdf_representation + self.class.to_rdf_representation + end + module ClassMethods # This governs which partial to draw when you render this type of object def _to_partial_path # :nodoc: