Fix show_all /pages

This commit is contained in:
bootstraponline
2012-10-23 22:09:27 -06:00
parent b6633f0ecb
commit 4af6f366ca
+2 -6
View File
@@ -17,12 +17,8 @@ module Gollum
#
# Returns the String url_path
def url_path
path = if self.path.include?('/')
self.path.sub(/\/[^\/]+$/, '/')
else
''
end
path = self.path
path = path.sub(/\/[^\/]+$/, '/') if path.include?('/')
path
end