[openstreetmap/openstreetmap-website] Change diary comment post paths (PR #5013)
Anton Khorev
notifications at github.com
Tue Jul 23 16:12:32 UTC 2024
This is how path are going to look if comments are turned into nested resources of diary entries:
- `newcomment` => POST on `comments`
- `hidecomment/:comment` => `comments/:comment/hide`
- `unhidecomment/:comment` => `comments/:comment/unhide`
All changed paths are POST paths, changing them shouldn't break anything.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5013
-- Commit Summary --
* Change diary comment post paths
-- File Changes --
M config/routes.rb (6)
M test/controllers/diary_comments_controller_test.rb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5013.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5013.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5013
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5013 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240723/f693f695/attachment.htm>
More information about the rails-dev
mailing list