Remove unused methods
This commit is contained in:
parent
e3d7ce2cc4
commit
5a214ee6f1
10 changed files with 9 additions and 62 deletions
|
@ -14,8 +14,8 @@
|
|||
|
||||
|
||||
%span.notes_count
|
||||
- notes = @project.commit_notes(commit) + @project.commit_line_notes(commit)
|
||||
- notes = @project.notes.for_commit_id(commit.id)
|
||||
- if notes.any?
|
||||
%span.btn.small.disabled.grouped
|
||||
%span.btn.disabled.grouped
|
||||
%i.icon-comment
|
||||
= notes.count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue