gitlab-org--gitlab-foss/app/observers/email_observer.rb
Jason Hollingsworth 29cfd33d94 Add email aliases for users
Emails are used to associate commits with users. The emails
are not verified and don't have to be valid email addresses. They
are assigned on a first come, first serve basis.

Notifications are sent when an email is added.
2014-02-13 22:59:39 -06:00

5 lines
105 B
Ruby

class EmailObserver < BaseObserver
def after_create(email)
notification.new_email(email)
end
end