[openstreetmap/openstreetmap-website] Move gpx_file (trace) xml generation out of model and into view (#2207)

Tom Hughes notifications at github.com
Sun Apr 14 15:30:33 UTC 2019

This all lost fine for the most part but it does create a slightly confusing naming situation.

We wind up with a `trace` view that actually takes an argument named `@traces` and renders multiple traces so that it can also support a separate action on the user controller.

One option would be just to rename it to `traces` so that things are consistent, but that means we have a view that doesn't directly relate to any action. The only other approach I can see is to have separate top level views though they could still share the common partial where most of the work is done.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190414/76452a6e/attachment-0001.html>

More information about the rails-dev mailing list