feat: Use audio tag instead of download file button (#1749)
This commit is contained in:
@@ -9,6 +9,8 @@ module FileTypeHelper
|
||||
'image/bmp'
|
||||
].include?(content_type)
|
||||
|
||||
return :audio if content_type.include?('audio/')
|
||||
|
||||
:file
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user