Fixes undefined method 'notes' error from r3594

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3596 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-03-17 04:13:05 +00:00
parent 2ada68ae62
commit 0f999ef0e0
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ if @journal.frozen?
# journal was destroyed
page.remove "change-#{@journal.id}"
else
page.replace "journal-#{@journal.id}-notes", render_notes(@journal, :reply_links => authorize_for('issues', 'edit'))
page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
page.show "journal-#{@journal.id}-notes"
page.remove "journal-#{@journal.id}-form"
end