In building a sitemap for my rails app, I went off of this blog post:
but I have public-facing pages for which no ActiveRecord model exists.
I added the following to my sitemap controller to add entries for a given
Then, for example, in my controller I just call:
and finally, in my view:
oh, and in my sitemap_helper: