makesites / brisk

Automation for Express.js #express.js #javascript
3 stars 1 forks source link

Support options in the render method #37

Closed tracend closed 11 years ago

tracend commented 11 years ago

The res.render method supports an options object, to define the layout among other things.

The render method of the main controller does not take into account these settings.

tracend commented 11 years ago

As a convention, a res.options object will be passed to the res.render method as its options.