Commit ef935aba authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix README.txt rendering. Solution by @dfyx

parent 6d6d084c
...@@ -48,7 +48,7 @@ module TreeHelper ...@@ -48,7 +48,7 @@ module TreeHelper
end end
def plain_text_readme? filename def plain_text_readme? filename
filename == 'README' filename =~ /^README(.txt)?$/i
end end
# Simple shortcut to File.join # Simple shortcut to File.join
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment