Skip to content

Small Note code cleanup

Ramya Authappan requested to merge github/fork/riyad/saner-note-methods into master

Created by: riyad

Code cleanup for Note model

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

Merge request reports

Loading