[openstreetmap/openstreetmap-website] Use resourceful routes for user new/create actions (PR #5459)

Anton Khorev notifications at github.com
Fri Jan 3 09:02:14 UTC 2025


User create action is moved from `POST /user/new` to `POST /user`.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5459

-- Commit Summary --

  * Use resourceful routes for user new/create actions

-- File Changes --

    M app/views/layouts/_header.html.erb (2)
    M app/views/layouts/map.html.erb (2)
    M app/views/notes/new.html.erb (2)
    M app/views/site/fixthemap.html.erb (2)
    M config/routes.rb (4)
    M test/controllers/confirmations_controller_test.rb (26)
    M test/controllers/users_controller_test.rb (46)
    M test/integration/user_creation_test.rb (38)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5459.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5459.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5459 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250103/7c62890b/attachment.htm>


More information about the rails-dev mailing list