Include full path in file view href.

This commit is contained in:
bootstraponline
2012-07-27 11:34:04 -06:00
parent 77bb608878
commit 8558777ece
6 changed files with 24 additions and 34 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module Gollum
def new_page page
name = page.name
url = page.filename_stripped
url = ::File.join(::File.dirname(page.path), page.filename_stripped)
%Q( <li class="file"><a href="#{url}">#{name}</a></li>\n)
end