1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-11-05 04:56:17 +01:00

Return [body] since String stopped including Enumerable in 1.9

This commit is contained in:
cn 2013-03-29 22:45:00 +01:00
parent f015eaec05
commit b7c8906c3b

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)