gitlabhq/gitlabhq — pull request #1692 by riyad (2012-10-13 14:45:24+00:00)
Title: Small Note code cleanup

Code cleanup for Note model

* override `noteable` to also be able to return `Commit`s
* remove `target`
* rename `commit?` to `for_commit?`
* rename `line_note?` to `for_diff_line?`
* add `==` to `StaticModel`
* update specs, helpers and views