summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorIgor <idrozdov@gitlab.com>2019-09-06 15:49:13 +0000
committerStan Hu <stanhu@gmail.com>2019-09-06 15:49:13 +0000
commite8a4ee8ad3987d5c08a07b76a83f3ccef4c546a9 (patch)
tree085822a3fb825c9fc3bd6634e14182c24c2554b7 /app
parent05fca5ff1558433029eb9771e582b99399a3eaaa (diff)
downloadgitlab-ce-e8a4ee8ad3987d5c08a07b76a83f3ccef4c546a9.tar.gz
Fix sharing localStorage with all MRs
Expose id field in the serializer in order to store comments content in the localStorage under the correct key
Diffstat (limited to 'app')
-rw-r--r--app/serializers/merge_request_noteable_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/merge_request_noteable_entity.rb b/app/serializers/merge_request_noteable_entity.rb
index e22be6880bb..9504fdd8eac 100644
--- a/app/serializers/merge_request_noteable_entity.rb
+++ b/app/serializers/merge_request_noteable_entity.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class MergeRequestNoteableEntity < Grape::Entity
+class MergeRequestNoteableEntity < IssuableEntity
include RequestAwareEntity
# Currently this attr is exposed to be used in app/assets/javascripts/notes/stores/getters.js