make Page#data call safe
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ module Gollum
|
||||
#
|
||||
# Returns the String data.
|
||||
def data
|
||||
self.blob.data
|
||||
self.blob.data rescue nil
|
||||
end
|
||||
|
||||
# Find a page in the given Gollum repo.
|
||||
|
||||
Reference in New Issue
Block a user