5375: white space
authorRadhika Chippada <radhika@curoverse.com>
Wed, 18 Mar 2015 15:13:20 +0000 (11:13 -0400)
committerRadhika Chippada <radhika@curoverse.com>
Wed, 18 Mar 2015 15:13:20 +0000 (11:13 -0400)
apps/workbench/app/helpers/collections_helper.rb
apps/workbench/config/application.default.yml
apps/workbench/config/initializers/mime_types.rb

index f310265c960e1bc727e2fe86042da73440b2b069..0564ec99b18cda554b87d83224b7443aac0c8102 100644 (file)
@@ -54,7 +54,6 @@ module CollectionsHelper
     file_path = "#{f0}#{file[1]}"
   end
 
-
   ##
   # Check if collection preview is allowed for the given filename with extension
   #
index 716978faa9c5848c64a4cfd344c76664b5d4adc8..c613453cf901178e129540a85526842792892ec5 100644 (file)
@@ -191,7 +191,7 @@ common:
   # Filename suffixes of applications for which the
   # view icon would be shown in collection show page.
   # It is sufficient to list only applications here.
-  # No need to list text and image types. 
+  # No need to list text and image types.
   filename_suffixes_with_view_icon: [fa, fasta, go, json, pdf, py, r, sam, sh, xml, xsl]
 
   # the maximum number of bytes to load in the log viewer
index 2cbdbd80c7f3aa9de034caf1e63188e9c3cc5ec9..848b3dc21c4a7c02e67f17124b3dc3841881fd7d 100644 (file)
@@ -9,7 +9,7 @@
 require 'mime/types'
 include MIME
 
-# register new MIME types with MIME::Types gem
+# register and add new MIME types to MIME::Types gem
 if (MIME::Types.type_for('file.fa').first.nil?)
   Mime::Type.register "application/fa", :fa
   MIME::Types.add(MIME::Type.new(["application/fa", %(fa)]))