Sha256: daf54fe403a291873a311308c88b2195d0b4f60293396006959c1cbfbaf0b34e
Contents?: true
Size: 419 Bytes
Versions: 10
Compression:
Stored size: 419 Bytes
Contents
# Generated via # `rails generate hyrax:work <%= class_name %>` class <%= class_name %> < ActiveFedora::Base include ::Hyrax::WorkBehavior include ::Hyrax::BasicMetadata # Change this to restrict which works can be added as a child. # self.valid_child_concerns = [] validates :title, presence: { message: 'Your work must have a title.' } self.human_readable_type = '<%= name.underscore.titleize %>' end
Version data entries
10 entries across 10 versions & 2 rubygems