summaryrefslogtreecommitdiff
path: root/app/observers/note_observer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/observers/note_observer.rb')
-rw-r--r--app/observers/note_observer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/observers/note_observer.rb b/app/observers/note_observer.rb
index 0f820a263b3..1c3c1ad31cf 100644
--- a/app/observers/note_observer.rb
+++ b/app/observers/note_observer.rb
@@ -35,4 +35,8 @@ class NoteObserver < ActiveRecord::Observer
def team_without_note_author(note)
note.project.users.reject { |u| u.id == note.author.id }
end
+
+ def notification
+ NotificationService.new
+ end
end