per line comments display

This commit is contained in:
Dmitriy Zaporozhets 2012-01-10 22:08:46 +02:00
parent c66bc99fb7
commit 9da4d06a87
7 changed files with 78 additions and 2 deletions

View file

@ -27,6 +27,8 @@ class CommitsController < ApplicationController
@notes = project.commit_notes(@commit).fresh.limit(20)
@note = @project.build_commit_note(@commit)
@line_notes = project.commit_line_notes(@commit)
respond_to do |format|
format.html
format.js { respond_with_notes }