diff --git a/app/models/meeting.rb b/app/models/meeting.rb index 264cddf61f..5a26b58142 100644 --- a/app/models/meeting.rb +++ b/app/models/meeting.rb @@ -43,6 +43,7 @@ class Meeting < ActiveRecord::Base acts_as_searchable columns: ["#{table_name}.title", "#{MeetingContent.table_name}.text"], include: [:contents, :project], + references: :meeting_contents, date_column: "#{table_name}.created_at" acts_as_journalized