Small Note code cleanup
Code cleanup for Note model
- override
noteable
to also be able to returnCommit
- remove
target
- rename
commit?
tofor_commit?
- rename
line_note?
tofor_diff_line?
- add
==
toStaticModel
- update specs, helpers and views
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Code cleanup for Note model
noteable
to also be able to return Commit
target
commit?
to for_commit?
line_note?
to for_diff_line?
==
to StaticModel