Better commit show page

This commit is contained in:
Dmitriy Zaporozhets 2012-03-26 22:41:56 +03:00
parent 7d56a51bdc
commit 788de6f1c8
3 changed files with 38 additions and 20 deletions

View file

@ -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