From e739eb036df23db4a03681190bf07ba0b8f1302c Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 21 Apr 2015 15:23:20 +0200 Subject: Move participants method to shared Participable concern. --- app/models/note.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/note.rb') diff --git a/app/models/note.rb b/app/models/note.rb index 26739426a88..e1cd971132b 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -23,10 +23,12 @@ require 'file_size_validator' class Note < ActiveRecord::Base include Mentionable include Gitlab::CurrentSettings + include Participable default_value_for :system, false attr_mentionable :note + participant :author, :mentioned_users belongs_to :project belongs_to :noteable, polymorphic: true -- cgit v1.2.1