summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index cfb01ce9526..a929ad25489 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -7,8 +7,9 @@ class Note < ActiveRecord::Base
default_value_for :system, false
+ participant :author
+
attr_mentionable :note, pipeline: :note
- participant :author, index: 0
belongs_to :project
belongs_to :noteable, polymorphic: true, touch: true