nerdgeschoss / shimmer

Shimmer is a collection of Rails extensions that bring advanced UI features into your app and make your life easier as a developer.
https://nerdgeschoss.de
MIT License
5 stars 1 forks source link

Add Filename To Sitemap Endpoint #51

Closed jmarsh24 closed 1 year ago

jmarsh24 commented 1 year ago

I was using shimmer as a base for generating sitemaps on Copacoupona and I noticed that the downloaded file returned by the sitemap endpoint was an unnamed binary with no file extension.

I have added a filename along with other headers that should be added to this endpoint. The file should now download instead of a binary file that needs to be guessed by the server.