Replace deprecated reset method with restore method

This commit is contained in:
Tom Hughes 2015-01-10 12:37:52 +00:00
parent 360d68ea5c
commit 046fbdc177

View file

@ -742,7 +742,7 @@ private
@user.errors.set(:email, [])
end
user.reset_email!
user.restore_email!
end
end
end