Suppressing default layout from a render call #9

Merged
merged 1 commit into from Jan 2, 2013

Conversation

Projects
None yet
2 participants
@ivanstojic
Contributor

ivanstojic commented Dec 28, 2012

I've added support to suppress the default layout from the invocation of the render function on Express' response object. This is accomplished by passing a falsey (null, false, '') value as the value of the 'layout' property.

This is a feature supported by donpark/hbs module that I really missed in your own implementation.

mgutz added a commit that referenced this pull request Jan 2, 2013

Merge pull request #9 from ivanstojic/master
Suppressing default layout from a render call

@mgutz mgutz merged commit 9708358 into barc:master Jan 2, 2013

@ivanstojic

This comment has been minimized.

Show comment Hide comment
@ivanstojic

ivanstojic Jan 2, 2013

Contributor

Much obliged!

Contributor

ivanstojic commented Jan 2, 2013

Much obliged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment