Better commit show page
This commit is contained in:
parent
7d56a51bdc
commit
788de6f1c8
3 changed files with 38 additions and 20 deletions
|
@ -32,6 +32,8 @@ class CommitsController < ApplicationController
|
|||
@note = @project.build_commit_note(@commit)
|
||||
@comments_allowed = true
|
||||
@line_notes = project.commit_line_notes(@commit)
|
||||
|
||||
@notes_count = @line_notes.count + project.commit_notes(@commit).count
|
||||
end
|
||||
|
||||
def compare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue