1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-12-22 22:54:24 +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) client_list, routing_table, global_stats = read_status_log(@file)
html = main_tmpl.result(binding) html = main_tmpl.result(binding)
[200, {"Content-Type" => "text/html"}, html] [200, {"Content-Type" => "text/html"}, [html]]
end end
def read_template(file) def read_template(file)