diff options
author | Dan Allen <dan.j.allen@gmail.com> | 2014-03-05 03:08:48 +0400 |
---|---|---|
committer | Dan Allen <dan.j.allen@gmail.com> | 2014-03-05 03:08:48 +0400 |
commit | 4239e457ac1a5293c260b0102e1ae9538544d839 (patch) | |
tree | c562ae3a396c4726e9096454fb9c064430563e04 /app/helpers/tree_helper.rb | |
parent | fbbd989770ea48d472a5c4d7d95b970542279099 (diff) |
Add .adoc file extension for AsciiDoc
Add .adoc file extension for AsciiDoc as it's a very popular extension to use and the one recommended by the Asciidoctor project.
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r-- | app/helpers/tree_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 2dbc1cffb16..50501dffefb 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -40,7 +40,7 @@ module TreeHelper # Returns boolean def markup?(filename) filename.downcase.end_with?(*%w(.textile .rdoc .org .creole - .mediawiki .rst .asciidoc .pod)) + .mediawiki .rst .adoc .asciidoc .pod)) end def gitlab_markdown?(filename) |