lint this, check todo
CI / scan_ruby (push) Successful in 18s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 20s
CI / test (push) Successful in 33s

This commit is contained in:
2026-01-30 01:47:41 +01:00
parent 21e7e65dfb
commit 7c7bdf7e65
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Entry < ApplicationRecord
end
def at_least_one_translation
if [fi, en, sv, no, ru, de].all?(&:blank?)
if [ fi, en, sv, no, ru, de ].all?(&:blank?)
errors.add(:base, "At least one language translation is required")
end
end