lib/utopia/middleware/content.rb in utopia-0.9.43 vs lib/utopia/middleware/content.rb in utopia-0.9.45

- old
+ new

@@ -6,11 +6,11 @@ require 'utopia/link' require 'utopia/path' require 'utopia/tags' require 'utopia/middleware/content/node' -require 'utopia/etanni' +require 'utopia/trenni' module Utopia module Middleware class Content @@ -30,10 +30,10 @@ attr :root attr :passthrough def fetch_xml(path) - read_file = lambda { TemplateCache.new(path, Etanni) } + read_file = lambda { Trenni.new(File.read(path), path) } if @files @files.fetch(path) do @files[path] = read_file.call end