Commit ef935aba4f01fcbf4e9d0b8861b1d8ea5d13ffa6

Authored by Dmitriy Zaporozhets
1 parent 6d6d084c

Fix README.txt rendering. Solution by @dfyx

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/tree_helper.rb
... ... @@ -48,7 +48,7 @@ module TreeHelper
48 48 end
49 49  
50 50 def plain_text_readme? filename
51   - filename == 'README'
  51 + filename =~ /^README(.txt)?$/i
52 52 end
53 53  
54 54 # Simple shortcut to File.join
... ...