Write directory_indexes based on destination_path so it plays well with other manipulators

This commit is contained in:
Ben Hollis 2012-05-19 22:05:48 -07:00
parent c117415913
commit 7598165909

View file

@ -46,7 +46,7 @@ module Middleman::Extensions
next
end
resource.destination_path = resource.path.chomp(File.extname(index_file)) + new_index_path
resource.destination_path = resource.destination_path.chomp(File.extname(index_file)) + new_index_path
end
end
end