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

3 lines
154 B
Text
Raw Normal View History

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