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
|
|
@ -39,7 +39,7 @@ class ConferenceRegistrationController < ApplicationController
|
|||
if update_registration
|
||||
redirect_message = "Registration updated."
|
||||
else
|
||||
Mailbot.registration_mail(request.host_with_port, conference, current_user.person).deliver
|
||||
Mailbot.registration_mail(conference, current_user.person).deliver
|
||||
end
|
||||
redirect_to(register_conference_path(:id => conference.short_title), :notice => redirect_message)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue