summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-10 14:33:22 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-10 14:33:22 +0200
commit0e3f8ea2ef2a7d6cc51ccb5d7ae854c6244b40eb (patch)
treef761ca392fa152636b999d1b137b1ce418ca3a15 /app/helpers/tree_helper.rb
parent2fd30cc57f1d848c1f8e356aacfa76806549fb82 (diff)
downloadgitlab-ce-0e3f8ea2ef2a7d6cc51ccb5d7ae854c6244b40eb.tar.gz
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.rb4
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)