👋 update_attributes
You served us well...
This commit is contained in:
parent
ca80b753e7
commit
85dae98a76
46 changed files with 109 additions and 109 deletions
|
|
@ -37,9 +37,9 @@ module Admin
|
|||
def edit; end
|
||||
|
||||
def update
|
||||
@user.update_attributes(user_params)
|
||||
@user.update(user_params)
|
||||
|
||||
@registration.update_attributes(registration_params)
|
||||
@registration.update(registration_params)
|
||||
if @registration.save
|
||||
redirect_to admin_conference_registrations_path(@conference.short_title),
|
||||
notice: "Successfully updated registration for #{@registration.user.email}!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue