diff --git a/app/models/thema.rb b/app/models/thema.rb index 5d5797b..22128cd 100644 --- a/app/models/thema.rb +++ b/app/models/thema.rb @@ -15,7 +15,7 @@ class Thema < ActiveRecord::Base has_many :fragen has_many :attachments belongs_to :themengruppe, :foreign_key => "themengruppe_id" - + has_one :gremium validates :themengruppe, :presence => true validates :title, :presence => true