syntax error
This commit is contained in:
parent
53de063bfc
commit
fe0d38ec67
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class User < ActiveRecord::Base
|
||||||
if code == joinedwithcode
|
if code == joinedwithcode
|
||||||
update(generation: 0)
|
update(generation: 0)
|
||||||
else
|
else
|
||||||
update(generation: User.find_by_code(joinedwithcode) + 1
|
update(generation: User.find_by_code(joinedwithcode) + 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue