summaryrefslogtreecommitdiffstats
path: root/app/controllers/boards_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-05 10:08:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-05 10:08:11 +0000
commitca166b30e1b223c7f3aba3befc894a8597362592 (patch)
tree42d3a97b4d38db99ba3ff6a91aa23e75db44b5c4 /app/controllers/boards_controller.rb
parent3d65ed7aa0b6892ca76160a89694acc4efa79f27 (diff)
downloadredmine-ca166b30e1b223c7f3aba3befc894a8597362592.tar.gz
redmine-ca166b30e1b223c7f3aba3befc894a8597362592.zip
Adds the ability to move threads between project forums (#2452). 'Edit message' permission is required.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2649 e93f8b46-1217-0410-a6f0-8f06a7374b81
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