From 687fca170ed7e82892942329f5368a158a90ae35 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 6 Apr 2012 13:51:55 +0000 Subject: [PATCH] Merged r9359 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9360 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/boards_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5