summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/notes_actions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/notes_actions.rb')
-rw-r--r--app/controllers/concerns/notes_actions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/notes_actions.rb b/app/controllers/concerns/notes_actions.rb
index c5cad3f44c0..a392479fdeb 100644
--- a/app/controllers/concerns/notes_actions.rb
+++ b/app/controllers/concerns/notes_actions.rb
@@ -235,6 +235,8 @@ module NotesActions
end
def use_note_serializer?
+ return false if params['html']
+
if noteable.is_a?(MergeRequest)
cookies[:vue_mr_discussions]
else