From 78e025b25068af9a46b3b81db02bab109a10c979 Mon Sep 17 00:00:00 2001 From: Chris D'Ambrosio Date: Sun, 5 Jan 2014 22:44:54 -0800 Subject: [PATCH] Fix index_files ivar warning Fix the index_files instance variable deprecation warning. --- templates/vhost/vhost_location_directory.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vhost/vhost_location_directory.erb b/templates/vhost/vhost_location_directory.erb index 9b8a6b511..ffb56091a 100644 --- a/templates/vhost/vhost_location_directory.erb +++ b/templates/vhost/vhost_location_directory.erb @@ -18,7 +18,7 @@ autoindex on; <% end -%> <% if @index_files.count > 0 -%> - index <% Array(index_files).each do |i| %> <%= i %><% end %>; + index <% Array(@index_files).each do |i| %> <%= i %><% end %>; <% end -%> <% if defined? @auth_basic -%> auth_basic "<%= @auth_basic %>";