Module: ActiveStorage::FileFieldWithDirectUploadHelper
- Defined in:
- app/helpers/active_storage/file_field_with_direct_upload_helper.rb
Overview
Temporary hack to overwrite the default file_field_tag and Form#file_field to accept a direct_upload: true option that then gets replaced with a data-direct-upload-url attribute with the route prefilled.