1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 10:38:50 +01:00

Add status to translations

This commit is contained in:
2019-02-02 13:09:01 +01:00
parent 1533431c4a
commit 8da1323fd8
7 changed files with 22 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ for i in 1..10 do
)
problem = Problem.find(i)
problem.translation = translation
problem.set_translation(translation)
problem.save!
end