Merge pull request #439 from rps-repo/patch-1

remove quotes from content type
This commit is contained in:
Karel Picman 2015-09-02 10:34:32 +02:00
commit 8a1a31538e

View File

@ -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 %>"}
"content_type":"<%= (@tempfile.content_type.gsub('"', '')).html_safe %>",
"disk_filename":"<%= (@disk_filename).html_safe %>"}