Skip to content

Fails to use layout and shows no errors #6

Closed
anthonygreen opened this Issue Jan 18, 2013 · 1 comment

2 participants

@anthonygreen

I'm trying to migrate to an app to express-ejs-layouts from an old version of express, but the layout functionality is not working. More disconcertingly neither are there any errors reported meaning I'm very much in the dark as to why it's not working.

The branch is here:

https://github.com/anthonygreen/cukecipes/tree/express-ejs-layouts

@Soarez
Owner
Soarez commented Jan 18, 2013

The problem is not with express-ejs-layouts, it is not even getting a chance to execute.

The problem is with the order you are using for your connect middlewares.

I've sent you a pull request to fix the issue. --> https://github.com/anthonygreen/cukecipes/pull/1

@Soarez Soarez closed this Jan 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.