Skip to content

Commit

Permalink
Fixed an issue with content type being looked up twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ncrohn committed Jul 21, 2012
1 parent 8e34198 commit fcf21f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/docpad.coffee
Expand Up @@ -2547,7 +2547,7 @@ class DocPad extends EventEmitterEnhanced


# Content Type # Content Type
contentType = document.get('contentTypeRendered') or document.get('contentType') contentType = document.get('contentTypeRendered') or document.get('contentType')
res.contentType(contentType) res.setHeader('Content-Type', contentType);


# Send # Send
dynamic = document.get('dynamic') dynamic = document.get('dynamic')
Expand Down

0 comments on commit fcf21f2

Please sign in to comment.