From b40196f8430f864fd7929f6252c415b05977407a Mon Sep 17 00:00:00 2001 From: Abdoul Bah Date: Thu, 15 Aug 2013 21:08:03 +0200 Subject: [PATCH] Update vhost_location_stub_status.erb this does not affect ruby1.9 --- templates/vhost/vhost_location_stub_status.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/vhost/vhost_location_stub_status.erb b/templates/vhost/vhost_location_stub_status.erb index 36cc294ab..0827324a9 100644 --- a/templates/vhost/vhost_location_stub_status.erb +++ b/templates/vhost/vhost_location_stub_status.erb @@ -1,8 +1,8 @@ location <%= @location %> { -<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each_line do |key,value| -%> +<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%> <%= key %> <%= value %>;<% end -%><% end -%> stub_status on; -<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each_line do |key,value| -%> +<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%> <%= key %> <%= value %>;<% end -%><% end -%> }