forked from Gitlink/forgeplus
change
This commit is contained in:
parent
33d87b0c93
commit
d07ce356d2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue