uber/express-layout — pull request #3 by jesseditson (2014-11-24 02:09:54+00:00)
Title: Add support for layouts when views value is an array

As per this PR: https://github.com/strongloop/express/pull/2320
And this commit: https://github.com/strongloop/express/commit/661435256384165bb656cb7b6046b4138ca24c9e

Express 4.10.x adds support for the value for `views` to be an array.

This PR changes the layouts to borrow the express View constructor to generate the path, which both adds support for multiple view folders, and prevents express logic changes from breaking layout lookups in the future.