Improve controllers and views

This commit is contained in:
2026-07-28 00:46:33 +02:00
parent eb2797bd90
commit eae0ee9d20
9 changed files with 25 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
module CoreExt::ActionView::RecordIdentifierWithSuffix
# TODO: replace dom_id with dom_target, then remove this override
def dom_id(object, prefix = nil, suffix = nil)
if suffix
"#{super(object, prefix)}#{::ActionView::RecordIdentifier::JOIN}#{suffix}"