[openstreetmap/openstreetmap-website] Remove unnecessary h() calls on model attributes (#2562)

Andy Allan notifications at github.com
Wed Mar 18 13:35:45 UTC 2020


These were necessary in the rails 2.x era, but not now. Expands on the situations fixed by #2500 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove unnecessary h() calls on model attributes

-- File Changes --

    M app/views/browse/_common_details.html.erb (4)
    M app/views/browse/_containing_relation.html.erb (4)
    M app/views/browse/_relation_member.html.erb (2)
    M app/views/browse/changeset.html.erb (6)
    M app/views/changesets/index.atom.builder (8)
    M app/views/diary_entries/_diary_comment.html.erb (2)
    M app/views/diary_entries/_diary_entry.html.erb (4)
    M app/views/diary_entries/index.html.erb (2)
    M app/views/messages/_message_summary.html.erb (4)
    M app/views/messages/_sent_message_summary.html.erb (4)
    M app/views/messages/show.html.erb (8)
    M app/views/traces/_trace.html.erb (2)
    M app/views/traces/edit.html.erb (4)
    M app/views/traces/index.html.erb (2)
    M app/views/traces/show.html.erb (6)
    M app/views/user_blocks/_block.html.erb (6)
    M app/views/user_blocks/blocks_on.html.erb (2)
    M app/views/user_blocks/revoke.html.erb (4)
    M app/views/user_blocks/show.html.erb (2)
    M app/views/users/_contact.html.erb (2)
    M app/views/users/_user.html.erb (4)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2562
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200318/dbe6b211/attachment.htm>


More information about the rails-dev mailing list