Fix README.txt rendering. Solution by @dfyx
This commit is contained in:
parent
6d6d084c39
commit
ef935aba4f
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module TreeHelper
|
|||
end
|
||||
|
||||
def plain_text_readme? filename
|
||||
filename == 'README'
|
||||
filename =~ /^README(.txt)?$/i
|
||||
end
|
||||
|
||||
# Simple shortcut to File.join
|
||||
|
|
Loading…
Reference in a new issue