[openstreetmap/openstreetmap-website] move changeset xml generation to view (#2164)

Frederik Ramm notifications at github.com
Fri Mar 1 07:15:34 UTC 2019


By "parameterising" the output I mean that at a later time I want to make it dependent on who is asking - those who have accepted the ToU will get a more verbose XML and those who haven't will see less. This would be inelegant to do inside the model's to_xml code.

I would love to skip this work and concentrate on cgimap instead in the knowledge that cgimap is going to be used as a module inside the rails code, but I lack the capabilities of making that wish come true and I fear that it might be years away!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2164#issuecomment-468568024
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190228/1111be43/attachment-0001.html>


More information about the rails-dev mailing list