Fix bug in track list, also send accept/reject mails
This commit is contained in:
parent
f10d5e4c0e
commit
caa0dec6c4
7 changed files with 70 additions and 37 deletions
|
|
@ -91,9 +91,15 @@ class Event < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def process_acceptance(options)
|
||||
#if options[:send_mail]
|
||||
#end
|
||||
if options[:send_mail]
|
||||
Mailbot.acceptance_mail(self).deliver
|
||||
end
|
||||
end
|
||||
|
||||
def process_rejection(options)
|
||||
if options[:send_mail]
|
||||
Mailbot.rejection_mail(self).deliver
|
||||
end
|
||||
end
|
||||
|
||||
def public_state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue