app/models/revision.rb in Pimki-1.3.092 vs app/models/revision.rb in Pimki-1.4.092
- old
+ new
@@ -1,6 +1,7 @@
+
require "diff/diff"
require "wiki_content"
require "chunks/wiki"
@@ -63,10 +64,9 @@
# Explicit check for new type of display cache with find_chunks method.
# Ensures new version works with older snapshots.
def display_content
unless @display_cache && @display_cache.respond_to?(:find_chunks)
- #$stderr << "Rendering: #{page.name}\n"
@display_cache = WikiContent.new(self)
end
@display_cache
end