Commit 4239e457ac1a5293c260b0102e1ae9538544d839

Authored by Dan Allen
1 parent fbbd9897

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.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/tree_helper.rb
@@ -40,7 +40,7 @@ module TreeHelper @@ -40,7 +40,7 @@ module TreeHelper
40 # Returns boolean 40 # Returns boolean
41 def markup?(filename) 41 def markup?(filename)
42 filename.downcase.end_with?(*%w(.textile .rdoc .org .creole 42 filename.downcase.end_with?(*%w(.textile .rdoc .org .creole
43 - .mediawiki .rst .asciidoc .pod)) 43 + .mediawiki .rst .adoc .asciidoc .pod))
44 end 44 end
45 45
46 def gitlab_markdown?(filename) 46 def gitlab_markdown?(filename)