Skip to content

[charcoal/email] Allow email view controller to be customizable #78

Description

@mcaskill

The ViewableTrait allows one to customize the view controller used in rendering a template path identifier. By default, the view controller is the instance that implements the trait.

In Email, the accessor method is overridden—since its inception—which forces one to create a template controller for each template path identifier; without extending the Email class.

I don't know why this decision was made but it is annoying and restricts customization and flexibility.

For example, it would be practical to have a single project-side template controller and many different template files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions