[openstreetmap/openstreetmap-website] Move notes and blocks resources to api namespace (PR #5021)
Anton Khorev
notifications at github.com
Fri Jul 26 00:12:04 UTC 2024
If we want to [avoid](https://github.com/openstreetmap/openstreetmap-website/pull/4248#discussion_r1326279791) `:as` for api path helpers we can move resources to a namespace that will add the `api` prefix automatically.
This PR shouldn't rename any path helpers.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5021
-- Commit Summary --
* Move notes and blocks resources to api namespace
-- File Changes --
M config/routes.rb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5021.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5021.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5021
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5021 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240725/711ad42a/attachment-0001.htm>
More information about the rails-dev
mailing list