[openstreetmap/openstreetmap-website] Remove /edit from profile form path (PR #6060)

Anton Khorev notifications at github.com
Wed May 28 13:16:05 UTC 2025


Changes `/profile/edit` path to `/profile`.

This makes it similar to account and preferences paths that also don't have `/edit`. Getting `/profile` is now allowed, making it possible to reload the profile edit form page.

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove /edit from profile form path

-- File Changes --

    M app/abilities/ability.rb (3)
    M app/controllers/profiles_controller.rb (2)
    M app/views/dashboards/show.html.erb (2)
    R app/views/profiles/show.html.erb (0)
    M app/views/users/show.html.erb (2)
    M config/locales/en.yml (2)
    M config/routes.rb (5)
    M test/controllers/profiles_controller_test.rb (14)
    M test/system/user_location_change_test.rb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list