diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-07-28 11:47:27 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-07-28 11:47:27 +0200 |
commit | ceabda743a14f2cbd8edfd704743765c8f58a743 (patch) | |
tree | 4a3af8c5f87255058a41fdca3f95a9713bca2333 /app/helpers/tree_helper.rb | |
parent | cb0d63b9e3fa464ae8c0cd9cf7bdb8d080a7e02f (diff) | |
download | gitlab-ce-ceabda743a14f2cbd8edfd704743765c8f58a743.tar.gz |
Improve markup gems
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r-- | app/helpers/tree_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 2d82b6a0b47..bde2a60faa9 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -44,8 +44,8 @@ module TreeHelper # # Returns boolean def markup?(filename) - filename.downcase.end_with?(*%w(.textile .rdoc .org .creole - .mediawiki .rst .adoc .asciidoc .pod)) + filename.downcase.end_with?(*%w(.textile .rdoc .org .creole .wiki .mediawiki + .rst .adoc .asciidoc .asc)) end def gitlab_markdown?(filename) |