Fix plain text readme
This commit is contained in:
parent
e8d6c3c1b6
commit
453b2ae68b
3 changed files with 16 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue