Skip to content

fails to handle multiple express 'views' roots... #49

@mralexgray

Description

@mralexgray

not sure if this is a new 4.x feature of express.. but you can specify multiple search paths via something like...

app.set 'views', ["#{__dirname}/views", 'views']

however, this does NOT jive with express-partials...

TypeError: Path must be a string. Received [ '/node/coffeecup-test/views', 'views' ]

I've noticed particularly with layout files, but I would assume using an array in set "views" breaks various things.

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