do or do not
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ module Gollum
|
|||||||
# Returns the String SHA1 of the newly written version.
|
# Returns the String SHA1 of the newly written version.
|
||||||
def delete_page(page, commit)
|
def delete_page(page, commit)
|
||||||
index = nil
|
index = nil
|
||||||
sha1 = commit_index(commit) |idx|
|
sha1 = commit_index(commit) do |idx|
|
||||||
index = idx
|
index = idx
|
||||||
index.delete(page.path)
|
index.delete(page.path)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user