summaryrefslogtreecommitdiffstats
path: root/app/controllers/boards_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/boards_controller.rb')
-rw-r--r--app/controllers/boards_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb
index 838e63a7c..8d53f81e4 100644
--- a/app/controllers/boards_controller.rb
+++ b/app/controllers/boards_controller.rb
@@ -46,6 +46,7 @@ class BoardsController < ApplicationController
:include => [:author, {:last_reply => :author}],
:limit => @topic_pages.items_per_page,
:offset => @topic_pages.current.offset
+ @message = Message.new
render :action => 'show', :layout => !request.xhr?
end