Module: FileDownloadsHelper

Includes:
FileDownloadPresenter
Defined in:
app/helpers/file_downloads_helper.rb

Overview

Exposes FileDownloadPresenter#file_download_entry to views, in particular
shared/_file_downloads.html.erb which renders the Jobs offcanvas bridge.
Keeping the resolution logic in a single mixed-in module guarantees the
HTML render path and the Turbo-Stream interception path
(Controllers::WarehouseStreamActions) format download cards identically.

Method Summary

Methods included from FileDownloadPresenter

#file_download_entry