summaryrefslogtreecommitdiff
path: root/app/models/project_snippet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_snippet.rb')
-rw-r--r--app/models/project_snippet.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/models/project_snippet.rb b/app/models/project_snippet.rb
index 74162c83949..25b5d777641 100644
--- a/app/models/project_snippet.rb
+++ b/app/models/project_snippet.rb
@@ -7,8 +7,6 @@ class ProjectSnippet < Snippet
# Scopes
scope :fresh, -> { order("created_at DESC") }
- participant :author, index: 0
- participant :note_authors, index: 1
-
- attr_mentionable :notes_with_associations
+ participant :author
+ participant :notes_with_associations
end