Fix syntax
This commit is contained in:
parent
4717d72dde
commit
e4f63f366e
1 changed files with 1 additions and 1 deletions
|
@ -69,6 +69,6 @@ class Users::RegistrationsController < Devise::RegistrationsController
|
|||
|
||||
def check_invite! user
|
||||
Invite.where(email: user.email)
|
||||
.each { |invite| invite.update_attribute(:user, user) }
|
||||
.each { |invite| invite.update user: user }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue