-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for a default view #6
Comments
Good catch, this is currently missing but it shouldn't be more than adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a lot of code that depends on having a default layout rendered depending on the what code module that is loaded. Since express has no concept of layouts anymore, we began looking for alternative implementations since rewriting is not an option, but a drop-in replacement is acceptable to us.
Then i found this great little library, and it will save us x amount of work. But how would one set a default layout, in 2.x we would do it like this:
How can we do that using your middleware? :)
The text was updated successfully, but these errors were encountered: