14812: Config migration WIP
[arvados.git] / apps / workbench / app / helpers / collections_helper.rb
index 5eb1e8c768d927dfdc14e814143d2a945ed0c011..3f62a5601c53e443d8a3b8ddcd49db6671a3c752 100644 (file)
@@ -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.Workbench.ApplicationMimetypesWithViewIcon[file_type.sub_type]
       true
     else
       false