visionmedia/express — Issue #878: change view signature to accept filename
Author: visionmedia
Created: 2011-11-08 17:17:23+00:00
State: open
Labels: 3.x, Views

currently: `engine.render(str, [options, ] callback)`
proposed: `engine.render(filename, [options, ] callback)`

with this we can also remove the view cache option as express will
not be touching the files for lookup. This pushes more work on the
engine but ultimately a bit more flexibility for the engine as well.

also since `.render()` is so common we should probably go with
something ugly like `engine.__render(filename...)`