Serving Up Images Rather Than Webpages

Paypal allows me to upload an image to customize their payment page.
It's looking for something like:
http://mysite.com/my_image.gif

How do I get rails to serve up an image when paypal goes to this
address?

I made a route to a controller/action using the url but how do I then
serve up an image rather than a webpage?

Thanks in advance!

Paypal allows me to upload an image to customize their payment page.
It's looking for something like:
http://mysite.com/my_image.gif

How do I get rails to serve up an image when paypal goes to this
address?

I made a route to a controller/action using the url but how do I then
serve up an image rather than a webpage?

Change the returned content-type and then send the raw image data.

But unless your image changes, why not just make it static and drop it in public?

Look up send_data()