[openstreetmap/openstreetmap-website] Remove .display_name from user path helper calls (PR #6026)

Anton Khorev notifications at github.com
Mon May 19 13:06:23 UTC 2025


Replaces
```
user_path(user.display_name)
```
and likes with
```
user_path(user)
```

They mostly were replaced already but heatmap and friends-follows brought some back.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove .display_name from user path helper calls

-- File Changes --

    M app/views/dashboards/_contact.html.erb (4)
    M app/views/users/show.html.erb (4)
    M test/controllers/users_controller_test.rb (10)
    M test/system/report_diary_comment_test.rb (4)
    M test/system/report_diary_entry_test.rb (6)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list