Merge branch 'develop' into staging
This commit is contained in:
commit
bfe1d7469d
1 changed files with 1 additions and 2 deletions
|
@ -68,7 +68,6 @@ class Users::RegistrationsController < Devise::RegistrationsController
|
||||||
private
|
private
|
||||||
|
|
||||||
def check_invite! user
|
def check_invite! user
|
||||||
Invite.where(email: user.email)
|
Invite.where(email: user.email).update_all user_id: user.id
|
||||||
.each { |invite| invite.update user: user }
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue