Set version on _Footer files.

This commit is contained in:
Tom Preston-Werner
2010-08-05 12:33:13 -06:00
parent 47ce6d21d7
commit 39117ae44a
+3 -1
View File
@@ -301,7 +301,9 @@ module Gollum
when Grit::Blob
if page_match(name, item.name)
path = dir == '' ? '' : ::File.join('/', dir)
return self.class.new(@wiki).populate(item, path)
page = self.class.new(@wiki).populate(item, path)
page.version = self.version
page
end
end
end