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/6...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to