Skip to content

avoid warning on .slim templates #2616

@wlipa

Description

@wlipa

With ViewController 4.8 we are getting warnings like this for our slim templates:

WARNING: Template format for /Users/myuser/ruby/example/app/components/modal_component.slim is missing, defaulting to :html.

Slim is an expressly HTML oriented syntax, unlike ERB, so I think this is a needless warning. I would prefer to stick with shorter formatless template file names, since there isn't any ambiguity about what a .slim file is.

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