In order to customize the homescreen icon from my rails app on Apple touch devices, I need to serve an image out of the root.
I need something like
http://www.mywebsite.com/an_image.png
to serve up the image. I’ve deployed on Heroku, so I don’t even know if it’s possible to muck with the web server configuration. If there is, I’m all ears. If there’s a way to do it all within rails that would work too.
Does anyone have any guidance on this?
Try putting
an_image.pngin your Rails app’spublicdirectory. There is no rule saying that all images must go in theimagessubfolder.