Fix parameter passing and wording for per line notes

This commit is contained in:
Riyad Preukschas 2012-10-29 15:55:37 +01:00
parent b91d680257
commit 9b919939a3
9 changed files with 27 additions and 12 deletions

View file

@ -17,7 +17,9 @@ class CommitController < ProjectResourceController
@note = result[:note]
@line_notes = result[:line_notes]
@notes_count = result[:notes_count]
@comments_allowed = true
@comments_allowed = @reply_allowed = true
@comments_target = { noteable_type: 'Commit',
noteable_id: @commit.id }
respond_to do |format|
format.html do