Set version on _Footer files.
This commit is contained in:
+3
-1
@@ -301,7 +301,9 @@ module Gollum
|
|||||||
when Grit::Blob
|
when Grit::Blob
|
||||||
if page_match(name, item.name)
|
if page_match(name, item.name)
|
||||||
path = dir == '' ? '' : ::File.join('/', dir)
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user