demarches-normaliennes/app/views/attachments/show.turbo_stream.haml

2 lines
154 B
Text

= turbo_stream.replace dom_id(@attachment, :show) do
= render Attachment::ShowComponent.new(attachment: @attachment, user_can_upload: @user_can_upload)