per line comments display
This commit is contained in:
parent
c66bc99fb7
commit
9da4d06a87
7 changed files with 78 additions and 2 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue