fix(morph): ids should not start with numbers

This commit is contained in:
Paul Chavard 2023-01-26 10:41:15 +01:00
parent fc3b7c5ec8
commit 508cdec33f

View file

@ -224,7 +224,7 @@ class Champ < ApplicationRecord
private
def html_id
"#{stable_id}-#{id}"
"champ-#{stable_id}-#{id}"
end
def needs_dossier_id?