Skip to content

Display from Active Storage #144

Open
@richjdsmith

Description

@richjdsmith

I have disabled Active Storage from displaying the image as a blob by adding an initializer with the following:

Rails.application.config.active_storage.content_types_to_serve_as_binary.delete('image/svg+xml')

However, I am still unable to do something like the following <%= inline_svg_tag product.product_icon, class: 'h-6 w-6', aria: { hidden: true } %> without an error being thrown. Not entirely sure what I am doing wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions