Skip to content

Commit

Permalink
model generator uses CurationConcerns::GenericFile::BasicMetadata and…
Browse files Browse the repository at this point in the history
… CurationConcerns::GenericWorkBehavior
  • Loading branch information
Jon Stroop committed Jul 17, 2015
1 parent 3b87e17 commit 1d71998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/curation_concerns/work/templates/model.rb.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generated via
# `rails generate curation_concerns:work <%= class_name %>`
class <%= class_name %> < ActiveFedora::Base
include ::CurationConcerns::WorkBehavior
include ::CurationConcerns::DefaultMetadata
include ::CurationConcerns::GenericWorkBehavior
include ::CurationConcerns::GenericFile::BasicMetadata
validates_presence_of :title, message: 'Your work must have a title.'
end

1 comment on commit 1d71998

@kevinreiss
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.