[openstreetmap/openstreetmap-website] Add support for json traces API (PR #5943)

Tom Hughes notifications at github.com
Tue Apr 22 21:31:47 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#5943)

I think you need to change the two controllers to add something like this at the top:

```ruby
before_action :set_request_formats, :only => [:index]
```

That should stop those test failures on the XML version.

Please also squash the fixup commits into the one they are fixing (so commits 2-4 into commit 1 and commit 6 into commit 5).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5943#issuecomment-2822527902
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5943/c2822527902 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250422/a8a4f256/attachment.htm>


More information about the rails-dev mailing list