From: Jean-Philippe Lang Date: Fri, 6 Apr 2012 13:51:55 +0000 (+0000) Subject: Merged r9359 from trunk. X-Git-Tag: 1.4.0~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=687fca170ed7e82892942329f5368a158a90ae35;p=redmine.git Merged r9359 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9360 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index 380933960..253cb1e98 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -47,7 +47,7 @@ class BoardsController < ApplicationController :include => [:author, {:last_reply => :author}], :limit => @topic_pages.items_per_page, :offset => @topic_pages.current.offset - @message = Message.new + @message = Message.new(:board => @board) render :action => 'show', :layout => !request.xhr? } format.atom {