Permalink
Browse files

Fixed contentType response on rendered files

  • Loading branch information...
1 parent e95b18c commit c5724904c8ecb9ed563fcc4601eee2f8952cffa5 @balupton balupton committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/docpad.coffee
View
@@ -2532,7 +2532,7 @@ class DocPad extends EventEmitterEnhanced
return next()
# Content Type
- contentType = document.get('contentTypeRendered') or document.get('contentType')
+ contentType = document.get('outContentType') or document.get('contentType')
res.setHeader('Content-Type', contentType);
# Send

0 comments on commit c572490

Please sign in to comment.