diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-10 16:33:22 +0400 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-10 16:33:22 +0400 |
commit | 0e3f8ea2ef2a7d6cc51ccb5d7ae854c6244b40eb (patch) | |
tree | f761ca392fa152636b999d1b137b1ce418ca3a15 /app/helpers/tree_helper.rb | |
parent | 2fd30cc57f1d848c1f8e356aacfa76806549fb82 (diff) |
Use simple_format if we don't have a proper renderer
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r-- | app/helpers/tree_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index bde2a60faa9..29eb28af879 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -52,10 +52,6 @@ module TreeHelper filename.downcase.end_with?(*%w(.mdown .md .markdown)) end - def plain_text_readme? filename - filename =~ /^README(.txt)?$/i - end - # Simple shortcut to File.join def tree_join(*args) File.join(*args) |