5375: improved mime_types initializer. enhance collections_helper to use mime_type...
authorRadhika Chippada <radhika@curoverse.com>
Fri, 20 Mar 2015 18:30:35 +0000 (14:30 -0400)
committerRadhika Chippada <radhika@curoverse.com>
Fri, 20 Mar 2015 18:30:35 +0000 (14:30 -0400)
commit2606f4df5861ff34ca9e42389a1509e77c102c5a
treeb4e7394e9c92c8ad697e53742cd8a688ca60e0d2
parent03e8ba641e0161f15d96351e2432805977fd9d57
5375: improved mime_types initializer. enhance collections_helper to use mime_type sub_type instead of relying on suffix.
update config param name, value, and comment. add .seq, which is another supported extension of fasta to test.
apps/workbench/app/helpers/collections_helper.rb
apps/workbench/config/application.default.yml
apps/workbench/config/initializers/mime_types.rb
apps/workbench/test/unit/collection_test.rb
services/api/test/fixtures/collections.yml