File view links use '-' instead of %20.

This commit is contained in:
bootstraponline
2012-07-04 11:04:51 -06:00
parent 8c8b72d482
commit 2aa7e466ed
2 changed files with 13 additions and 6 deletions
+5
View File
@@ -7,6 +7,11 @@ class FakePage
@filepath = filepath
end
# From page.rb
def filename_stripped
::File.basename(@filepath, ::File.extname(@filepath))
end
def path
return @filepath
end