lib/utopia/middleware/content.rb in utopia-0.9.60 vs lib/utopia/middleware/content.rb in utopia-0.9.61

- old
+ new

@@ -33,11 +33,11 @@ def fetch_xml(path) read_file = lambda { Trenni.new(File.read(path), path) } if @files - @files.fetch(path) do - @files[path] = read_file.call + @files.fetch(path) do |key| + @files[key] = read_file.call end else read_file.call end end