wording in message
This commit is contained in:
parent
4fd6512af0
commit
6a951f1f21
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class Admin::RegistrationsController < ApplicationController
|
||||||
@registration.supporter_registration = @conference.supporter_registrations.new(params[:registration][:supporter_registration_attributes])
|
@registration.supporter_registration = @conference.supporter_registrations.new(params[:registration][:supporter_registration_attributes])
|
||||||
params[:registration].delete :supporter_registration_attributes
|
params[:registration].delete :supporter_registration_attributes
|
||||||
@registration.update_attributes!(params[:registration])
|
@registration.update_attributes!(params[:registration])
|
||||||
flash[:notice] = "Successfully updated Registration for #{@person.public_name} #{@person.email}"
|
flash[:notice] = "Successfully updated registration for #{@person.public_name} #{@person.email}"
|
||||||
redirect_to(admin_conference_registrations_path(@conference.short_title))
|
redirect_to(admin_conference_registrations_path(@conference.short_title))
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
Rails.logger.debug e.backtrace.join("\n")
|
Rails.logger.debug e.backtrace.join("\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue