X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c7d692a3f09d8116cc52591f8852c4e0d6e4ab3c..722fbc71928e7fc6b91eb101788b51c2bb9577eb:/apps/workbench/app/helpers/collections_helper.rb diff --git a/apps/workbench/app/helpers/collections_helper.rb b/apps/workbench/app/helpers/collections_helper.rb index 5eb1e8c768..0c89ca8783 100644 --- a/apps/workbench/app/helpers/collections_helper.rb +++ b/apps/workbench/app/helpers/collections_helper.rb @@ -72,7 +72,7 @@ module CollectionsHelper elsif (file_type.raw_media_type == "text") || (file_type.raw_media_type == "image") true elsif (file_type.raw_media_type == "application") && - (Rails.configuration.application_mimetypes_with_view_icon.include? (file_type.sub_type)) + Rails.configuration.Workbench.ApplicationMimetypesWithViewIcon[file_type.sub_type] true else false