Fix README.txt rendering. Solution by @dfyx

This commit is contained in:
Dmitriy Zaporozhets 2013-06-11 12:31:05 +03:00
parent 6d6d084c39
commit ef935aba4f

View file

@ -48,7 +48,7 @@ module TreeHelper
end
def plain_text_readme? filename
filename == 'README'
filename =~ /^README(.txt)?$/i
end
# Simple shortcut to File.join