Skip to content

Commit

Permalink
♻️ Adding to_rdf_representation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Jan 26, 2024
1 parent b1e70aa commit 8742db1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/concerns/hyrax/work_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8742db1

Please sign in to comment.