diff options
Diffstat (limited to 'app/serializers/project_note_entity.rb')
-rw-r--r-- | app/serializers/project_note_entity.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/serializers/project_note_entity.rb b/app/serializers/project_note_entity.rb index 3cd34f6af0d..3e004fb5d32 100644 --- a/app/serializers/project_note_entity.rb +++ b/app/serializers/project_note_entity.rb @@ -21,14 +21,6 @@ class ProjectNoteEntity < NoteEntity project_note_path(note.project, note) end - expose :resolve_path, if: -> (note, _) { note.part_of_discussion? && note.resolvable? } do |note| - resolve_project_merge_request_discussion_path(note.project, note.noteable, note.discussion_id) - end - - expose :resolve_with_issue_path, if: -> (note, _) { note.part_of_discussion? && note.resolvable? } do |note| - new_project_issue_path(note.project, merge_request_to_resolve_discussions_of: note.noteable.iid, discussion_to_resolve: note.discussion_id) - end - expose :delete_attachment_path, if: -> (note, _) { note.attachment? } do |note| delete_attachment_project_note_path(note.project, note) end |