This commit is contained in:
sylor_huang@126.com 2020-06-24 15:31:57 +08:00
parent 33d87b0c93
commit d07ce356d2
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module RepositoriesHelper
end
def download_type(str)
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe pdb obj idb png jpg gif tif psd svg)
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe pdb obj idb png jpg gif tif psd svg RData rdata)
default_type.include?(str&.downcase)
end