提交 f3184a96 编写于 作者: S Santiago Pastorino

Merge pull request #18579 from prathamesh-sonpatki/use-existing-constant-for-join

Use existing constant for joining instead of '_'
......@@ -103,7 +103,7 @@ def dom_id(record, prefix = nil)
# make sure yourself that your dom ids are valid, in case you overwrite this method.
def record_key_for_dom_id(record)
key = convert_to_model(record).to_key
key ? key.join('_') : key
key ? key.join(JOIN) : key
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册