From c050d2949ad6123abd8cc02515b63a15bed8a251 Mon Sep 17 00:00:00 2001 From: rps-repo Date: Tue, 1 Sep 2015 11:13:55 -0400 Subject: [PATCH] remove quotes from content type --- app/views/dmsf_upload/upload_file.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/dmsf_upload/upload_file.html.erb b/app/views/dmsf_upload/upload_file.html.erb index a538310c..769ed941 100644 --- a/app/views/dmsf_upload/upload_file.html.erb +++ b/app/views/dmsf_upload/upload_file.html.erb @@ -19,5 +19,5 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.%> {"original_filename":"<%= (@tempfile.original_filename).html_safe %>", - "content_type":"<%= (@tempfile.content_type).html_safe %>", - "disk_filename":"<%= (@disk_filename).html_safe %>"} \ No newline at end of file + "content_type":"<%= (@tempfile.content_type.gsub('"', '')).html_safe %>", + "disk_filename":"<%= (@disk_filename).html_safe %>"}