diff options
Diffstat (limited to 'app/controllers/concerns/notes_actions.rb')
-rw-r--r-- | app/controllers/concerns/notes_actions.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/concerns/notes_actions.rb b/app/controllers/concerns/notes_actions.rb index 93cf1d15086..31b3d311865 100644 --- a/app/controllers/concerns/notes_actions.rb +++ b/app/controllers/concerns/notes_actions.rb @@ -33,9 +33,6 @@ module NotesActions notes.map { |note| note_json(note) } end - # Only present an ETag for the empty response - ::Gitlab::EtagCaching::Middleware.skip!(response) if notes.present? - render json: meta.merge(notes: notes) end |