Skip to content

Commit

Permalink
Wrap string body in an array
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed May 20, 2009
1 parent b46c907 commit c86ec82
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ def status_code(exception)
end

def render(status, body)
[status, {'Content-Type' => 'text/html', 'Content-Length' => body.length.to_s}, body]
[status, {'Content-Type' => 'text/html', 'Content-Length' => body.length.to_s}, [body]]
end

def public_path
Expand Down

0 comments on commit c86ec82

Please sign in to comment.