Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-04-30 02:02:28 +0300
committerStan Hu <stanhu@gmail.com>2016-05-02 21:01:32 +0300
commitf64b82e1da47e0f0b4e0f6e91746ed95a98105dd (patch)
treec01800db3b988b88bedf3f72311750811ae8c1fb /app/models/project_snippet.rb
parent0652d92526cb504be076c059f76360b4c876135b (diff)
Support e-mail notifications for comments on project snippets
Closes #2334
Diffstat (limited to 'app/models/project_snippet.rb')
-rw-r--r--app/models/project_snippet.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project_snippet.rb b/app/models/project_snippet.rb
index 1f7d85a5f3d..d48f0546159 100644
--- a/app/models/project_snippet.rb
+++ b/app/models/project_snippet.rb
@@ -22,4 +22,6 @@ class ProjectSnippet < Snippet
# Scopes
scope :fresh, -> { order("created_at DESC") }
+
+ participant :author, :notes
end