Skip to content

[Feature] Support for annotate_template_file_names #172

@tom-lord

Description

@tom-lord

There is a new (unreleased) feature in the rails master branch: config.action_view.annotate_template_file_names.

However, this only adds support for erb templates.

It would be nice to prepare support for this feature, which will likely be shipped with rails 6.1.0, in the haml-rails library too.
The HAML template engine generates the output here, but presumably it should be this library's responsibility to read the rails-specific configuration parameter (so generated HTML appends/prepends the rendered partial name).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions