<p></p>
<p><b>@nertc</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910412523">app/views/users/show.html.erb</a>:</p>
<pre style='color:#555'>> - <%= link_to t(".remove as friend"), remove_friend_path(:display_name => @user.display_name), :method => :post %>
+ <%= link_to t(".unfollow"), follow_path(:display_name => @user.display_name), :method => :delete %>
<% else %>
- <%= link_to t(".add as friend"), make_friend_path(:display_name => @user.display_name), :method => :post %>
+ <%= link_to t(".follow"), follow_path(:display_name => @user.display_name), :method => :post %>
</pre>
<p dir="auto">My thought was to use <code class="notranslate">:edit</code> as the functionality was focused on editing but not showing information about <code class="notranslate">follows</code>. But as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2762338379" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5449" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5449/hovercard?comment_id=2578415862&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/5449#issuecomment-2578415862">#5449 (comment)</a> suggests, if we use <code class="notranslate">:show</code> also as edit page where it is possible, I will change it accordingly. I thought your comment meant to use standard <code class="notranslate">Singular Resource</code> routes in general, not <code class="notranslate">:show</code> in particular.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910412523">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLYTXFKZ4IQKPDD6A32J7GXNAVCNFSM6AAAAABP6QXVRWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKNBSGUYDEMJSG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLM73DO7MXH4ELHBDZD2J7GXNA5CNFSM6AAAAABP6QXVRWWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTUXROAO6.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5261/review/2542502127</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910412523",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910412523",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>