fix(champ): use public_id in views
This commit is contained in:
parent
15b5c5b6dd
commit
6ad0b901b6
10 changed files with 68 additions and 27 deletions
|
@ -35,7 +35,7 @@ class Attachment::MultipleComponent < ApplicationComponent
|
|||
end
|
||||
|
||||
def empty_component_id
|
||||
"attachment-multiple-empty-#{champ.id}"
|
||||
"attachment-multiple-empty-#{champ.public_id}"
|
||||
end
|
||||
|
||||
def auto_attach_url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue