in my rails app, I need to pass back a image.
I have a 1x1.gif tracking pixel in my route as follows:
match \"/_ctrack.gif\" => \"email_tracking_
Wouldn't be better to use send_file instead?
send_file Rails.root.join("public", "file.gif"), type: "image/gif", disposition: "inline"