| ... | @@ -171,7 +171,7 @@ class Project < ActiveRecord::Base |
... | @@ -171,7 +171,7 @@ class Project < ActiveRecord::Base |
|
|
end
|
|
end
|
|
|
|
|
|
|
|
def commit_line_notes(commit)
|
|
def commit_line_notes(commit)
|
|
|
notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code not null")
|
|
notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code is not null")
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
def has_commits?
|
|
def has_commits?
|
| ... | |
... | |
| ... | | ... | |