Skip to content

layout changes to _layoutFile #21

Description

@dumingxin

I saw this in the index.js file:
// for backward-compatibility, allow options to
// set a default layout file for the view or the app
// (NB:- not called layout any more so it doesn't
// conflict with the layout() function)
when use res.render function, the paramter {layout:'layout'} changes to {_layoutFile:'layout'}
it's important message,but I can't see it in the documents,why not add it to the readme.md file

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