lib/catscope/app.rb in catscope-0.1.3 vs lib/catscope/app.rb in catscope-0.1.4
- old
+ new
@@ -63,9 +63,11 @@
return "image/jpeg"
when /^png$/i
return "image/png"
when /^(eps|svg)$/i # will be converted to png
return "image/png"
+ when /^pdf/i
+ return "application/pdf"
else
return "text/plain"
end
end