Skip to content

Commit

Permalink
still send css if template rendering errors on server
Browse files Browse the repository at this point in the history
  • Loading branch information
nateps committed Mar 23, 2012
1 parent fcbfb82 commit 4196e88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/View.server.coffee
Expand Up @@ -182,6 +182,7 @@ View::_render = (res, model, ns, ctx, isStatic, bundle) ->
catch err
errText = templateError err
@_errors ||= errorHtml Template: errText
res.write '<!DOCTYPE html><meta charset=utf-8><title></title>' + @_css

# Inline scripts and external scripts
clientName = @_clientName
Expand Down

0 comments on commit 4196e88

Please sign in to comment.