Refactor NotesController / related concerns
The class needs a bit of refactoring. We should extract note_json, diff_discussion_html methods into a serializer and think how to make the class nicer.
Edited by 🤖 GitLab Bot 🤖
The class needs a bit of refactoring. We should extract note_json, diff_discussion_html methods into a serializer and think how to make the class nicer.