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