diff options
Diffstat (limited to 'app/models/message.rb')
-rw-r--r-- | app/models/message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/message.rb b/app/models/message.rb index 080e757b3..716c53b0b 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -23,7 +23,7 @@ class Message < ActiveRecord::Base belongs_to :last_reply, :class_name => 'Message', :foreign_key => 'last_reply_id' acts_as_searchable :columns => ['subject', 'content'], - :include => {:board, :project}, + :include => {:board => :project}, :project_key => 'project_id', :date_column => "#{table_name}.created_on" acts_as_event :title => Proc.new {|o| "#{o.board.name}: #{o.subject}"}, |