diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-26 19:00:54 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-26 19:00:54 +0200 |
commit | 3728c4904e61e47d23b6454754451bd716f4f422 (patch) | |
tree | 6e5cd97cf84db5a46c0f1ad9cde38046000099fe /app/services | |
parent | ce0945efcd36cc89d1b633500e4bdecf373fc304 (diff) | |
download | gitlab-ce-3728c4904e61e47d23b6454754451bd716f4f422.tar.gz |
refactor observers test since email logic moved to service
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_service.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 05a6730f918..37c8345e51e 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -108,4 +108,12 @@ class NotificationService Notify.delay.note_commit_email(note.commit_author.id, note.id) end end + + def new_team_member(users_project) + Notify.delay.project_access_granted_email(users_project.id) + end + + def update_team_member(users_project) + Notify.delay.project_access_granted_email(users_project.id) + end end |