Update file_view output

This commit is contained in:
bootstraponline
2012-11-10 12:08:05 -07:00
parent c5631f5b7d
commit 6888420cc6
8 changed files with 19 additions and 33 deletions
+2 -5
View File
@@ -22,7 +22,7 @@ module Gollum
def new_page page
name = page.name
url = url_for_page page
%Q( <li class="file"><a href="#{url}"><span class="icon"></span>#{name}</a></li>\n)
%Q( <li class="file"><a href="#{url}"><span class="icon"></span>#{name}</a></li>)
end
def new_folder folder_path
@@ -38,10 +38,7 @@ module Gollum
end
def end_folder
<<-HTML
</ol>
</li>
HTML
"</ol></li>\n"
end
def url_for_page page