Fix plain text readme

This commit is contained in:
randx 2012-10-16 09:43:22 +03:00
parent e8d6c3c1b6
commit 453b2ae68b
3 changed files with 16 additions and 1 deletions

View file

@ -51,6 +51,10 @@ module TreeHelper
filename.end_with?(*%w(.mdown .md .markdown))
end
def plain_text_readme? filename
filename == 'README'
end
# Simple shortcut to File.join
def tree_join(*args)
File.join(*args)