-
- 下载
Merge branch 'support-notifications-on-project-snippets' into 'master'
Support e-mail notifications for comments on project snippets While working with project snippets recently, I noticed that notifications would not be sent out for comments on notes. This MR fixes this. Note: I'm not completely sure why `ProjectSnippets#participants` returns an empty array if you don't include the concern that is already in `Snippets` but didn't dig into it any more. Closes #2334 See merge request !3987
显示
- CHANGELOG 1 个添加, 0 个删除CHANGELOG
- app/mailers/emails/notes.rb 8 个添加, 0 个删除app/mailers/emails/notes.rb
- app/models/project_snippet.rb 2 个添加, 0 个删除app/models/project_snippet.rb
- app/views/notify/note_snippet_email.html.haml 1 个添加, 0 个删除app/views/notify/note_snippet_email.html.haml
- app/views/notify/note_snippet_email.text.erb 8 个添加, 0 个删除app/views/notify/note_snippet_email.text.erb
- spec/services/notification_service_spec.rb 49 个添加, 16 个删除spec/services/notification_service_spec.rb
加载中
想要评论请 注册 或 登录