X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b4b8e120c8ac43a16513079e2ae9f46bcdb9c35d..ae47f5fc8d181bc26e96218286e8801a20bfe8d7:/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