diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-29 16:02:28 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-05-02 11:01:32 -0700 |
commit | f64b82e1da47e0f0b4e0f6e91746ed95a98105dd (patch) | |
tree | c01800db3b988b88bedf3f72311750811ae8c1fb /app/models | |
parent | 0652d92526cb504be076c059f76360b4c876135b (diff) | |
download | gitlab-ce-f64b82e1da47e0f0b4e0f6e91746ed95a98105dd.tar.gz |
Support e-mail notifications for comments on project snippets
Closes #2334
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project_snippet.rb | 2 |
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 |