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
This commit is contained in:
Jean-Philippe Lang
2009-04-05 10:08:11 +00:00
parent 3d65ed7aa0
commit ca166b30e1
7 changed files with 68 additions and 13 deletions

View File

@@ -73,7 +73,8 @@ class MessagesController < ApplicationController
if request.post? && @message.update_attributes(params[:message])
attach_files(@message, params[:attachments])
flash[:notice] = l(:notice_successful_update)
redirect_to :action => 'show', :id => @topic
@message.reload
redirect_to :action => 'show', :board_id => @message.board, :id => @message.root
end
end