Skip to content

Commit ecdcabe

Browse files
author
James Fryman
committed
Merge pull request #225 from chrisdambrosio/patch-1
Fix index_files ivar warning
2 parents 7d5cb88 + 78e025b commit ecdcabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/vhost/vhost_location_directory.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
autoindex on;
1919
<% end -%>
2020
<% if @index_files.count > 0 -%>
21-
index <% Array(index_files).each do |i| %> <%= i %><% end %>;
21+
index <% Array(@index_files).each do |i| %> <%= i %><% end %>;
2222
<% end -%>
2323
<% if defined? @auth_basic -%>
2424
auth_basic "<%= @auth_basic %>";

0 commit comments

Comments
 (0)