header must be fixnum

This commit is contained in:
Konstantin Haase 2012-10-16 18:49:57 +02:00
parent ab866b4fe2
commit 4fd46ad944

View File

@ -46,7 +46,7 @@ class Travis::Web::App
set_config(content) if index? file
headers = {
'Content-Length' => content.bytesize,
'Content-Length' => content.bytesize.to_s,
'Content-Location' => route_for(file),
'Cache-Control' => cache_control(file),
'Content-Location' => route_for(file),