Fixed test_show_with_permission_should_display_the_new_message_form broken by r9351.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9359 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-06 13:51:16 +00:00
parent dd1163b58a
commit ab28a55b4e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class BoardsController < ApplicationController
:include => [:author, {:last_reply => :author}], :include => [:author, {:last_reply => :author}],
:limit => @topic_pages.items_per_page, :limit => @topic_pages.items_per_page,
:offset => @topic_pages.current.offset :offset => @topic_pages.current.offset
@message = Message.new @message = Message.new(:board => @board)
render :action => 'show', :layout => !request.xhr? render :action => 'show', :layout => !request.xhr?
} }
format.atom { format.atom {