Permalink
Browse files

Fixing and odd bug, involving archlinux

  • Loading branch information...
1 parent 5d69cf1 commit df014480a29305c1f6ad0480989b4b6687627cd6 @miksago miksago committed Feb 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hex.rb
View
@@ -144,7 +144,7 @@ def call env
status, headers, body = Hex::Site.new(@config).route(@request)
- @response.body = body
+ @response.body = [body] # weird bug on Archlinux means I need to pass body as an array.
headers.each {|key, value| @response[key] = value}
@response['Cache-Control'] = if Hex.env == 'production'

0 comments on commit df01448

Please sign in to comment.