mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Fix README.txt rendering. Solution by @dfyx
This commit is contained in:
@@ -48,7 +48,7 @@ module TreeHelper
|
||||
end
|
||||
|
||||
def plain_text_readme? filename
|
||||
filename == 'README'
|
||||
filename =~ /^README(.txt)?$/i
|
||||
end
|
||||
|
||||
# Simple shortcut to File.join
|
||||
|
||||
Reference in New Issue
Block a user