integrate calendar with meetings

This commit is contained in:
Andreas Stephanides
2015-01-18 14:32:20 +01:00
parent e5966bccce
commit b46e19b466
6 changed files with 17 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class Neuigkeit < ActiveRecord::Base
validates :rubrik, :presence=>true
validates :author, :presence=>true
translates :title,:text, :versioning=>{:gem=>:paper_trail, :options=>{:fallbacks_for_empty_translations => true}}
has_one :calendar, through: :rubrik
has_many :calentries, as: :object
has_many :nlinks
has_one :meeting