]> git.openstreetmap.org Git - rails.git/commit
Remove /edit from profile form path
authorAnton Khorev <tony29@yandex.ru>
Wed, 28 May 2025 13:14:07 +0000 (16:14 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 28 May 2025 13:26:43 +0000 (16:26 +0300)
commitc7aa86f5be2730359cad1d2b701e5f74261b743d
tree7f72476e75f2209721e2f6c617a35aa038dae544
parent53b52230d25cf170563ab91aa6c9d66cfe8f83e1
Remove /edit from profile form path

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.
app/abilities/ability.rb
app/controllers/confirmations_controller.rb
app/controllers/profiles_controller.rb
app/views/dashboards/show.html.erb
app/views/profiles/show.html.erb [moved from app/views/profiles/edit.html.erb with 100% similarity]
app/views/users/show.html.erb
config/locales/en.yml
config/routes.rb
test/controllers/profiles_controller_test.rb
test/system/user_location_change_test.rb