diff options
-rw-r--r-- | app/models/note.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index c4c2ab8e67d..02f9fd61e49 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -401,6 +401,9 @@ class Note < ActiveRecord::Base end noteable_object&.touch + + # We return the noteable object so we can re-use it in EE for ElasticSearch. + noteable_object end def banzai_render_context(field) |