Skip to content

Commit

Permalink
Update category.rb
Browse files Browse the repository at this point in the history
Discussed in meeting of June 2
  • Loading branch information
jonquet authored Jun 2, 2023
1 parent 5ebbfc7 commit f51005a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ontologies_linked_data/models/category.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ class Category < LinkedData::Models::Base
attribute :parentCategory, enforce: [:category]
attribute :ontologies, inverse: { on: :ontology, attribute: :hasDomain }

serialize_default :acronym, :name, :description, :created, :parentCategory, :ontologies
cache_timeout 86400
end
end
end
end

0 comments on commit f51005a

Please sign in to comment.