Return [body] since String stopped including Enumerable in 1.9

This commit is contained in:
cn committed 2013-03-29 22:45:00 +01:00
1 parent f015eaec05
commit b7c8906c3b
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ class OpenVPNStatusWeb
client_list, routing_table, global_stats = read_status_log(@file)
html = main_tmpl.result(binding)
[200, {"Content-Type" => "text/html"}, html]
[200, {"Content-Type" => "text/html"}, [html]]
end
def read_template(file)