[openstreetmap/openstreetmap-website] Use resourceful routes for traces feeds (PR #5517)
Anton Khorev
notifications at github.com
Sat Jan 18 20:32:58 UTC 2025
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5517
-- Commit Summary --
* Add regexp constraints to trace ids
* Create traces feed resource
-- File Changes --
M app/abilities/ability.rb (2)
A app/controllers/traces/feeds_controller.rb (20)
M app/controllers/traces_controller.rb (13)
R app/views/traces/feeds/_description.html.erb (0)
R app/views/traces/feeds/show.rss.builder (4)
M app/views/traces/index.html.erb (6)
M config/locales/en.yml (15)
M config/routes.rb (16)
A test/controllers/traces/feeds_controller_test.rb (109)
M test/controllers/traces_controller_test.rb (100)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5517.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5517.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5517
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5517 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250118/cf96c120/attachment.htm>
More information about the rails-dev
mailing list