2012-08-26 23:13:03 +02:00
|
|
|
class UsersProjectObserver < ActiveRecord::Observer
|
2012-09-03 19:48:38 +02:00
|
|
|
def after_commit(users_project)
|
2012-08-26 23:32:03 +02:00
|
|
|
Notify.project_access_granted_email(users_project.id).deliver
|
|
|
|
end
|
2012-08-26 23:13:03 +02:00
|
|
|
end
|