summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-14 16:20:11 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-14 16:20:11 +0200
commit4a5b77188ec7525d1c3a1ee925c8791f841b040c (patch)
treec691a9271c6c4229db9893c34880abfccefbe95a /app/models/commit.rb
parent61d8f9617681973f04d264762b54840d44dea02a (diff)
downloadgitlab-ce-4a5b77188ec7525d1c3a1ee925c8791f841b040c.tar.gz
Participable doesn't need to know about Mentionable
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index aff329d71fa..95ac7156bed 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -2,13 +2,13 @@ class Commit
extend ActiveModel::Naming
include ActiveModel::Conversion
- include Mentionable
include Participable
+ include Mentionable
include Referable
include StaticModel
attr_mentionable :safe_message
- participant :author, :committer, :notes, :mentioned_users
+ participant :author, :committer, :notes
attr_accessor :project