<p dir="auto">This is how path are going to look if comments are turned into nested resources of diary entries:</p>
<ul dir="auto">
<li><code class="notranslate">newcomment</code> => POST on <code class="notranslate">comments</code></li>
<li><code class="notranslate">hidecomment/:comment</code> => <code class="notranslate">comments/:comment/hide</code></li>
<li><code class="notranslate">unhidecomment/:comment</code> => <code class="notranslate">comments/:comment/unhide</code></li>
</ul>
<p dir="auto">All changed paths are POST paths, changing them shouldn't break anything.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5013'>https://github.com/openstreetmap/openstreetmap-website/pull/5013</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5013/commits/a2aa44e026f0f796f046a58d2ad3778e6e79f960" class="commit-link">a2aa44e</a> Change diary comment post paths</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5013/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5013/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5013/files#diff-2c3b3662e44be71c024967a2cefccfd23f10c363eadb2985ff4896454b01845e">test/controllers/diary_comments_controller_test.rb</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5013.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5013.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5013.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5013.diff</a></li>
</ul>
<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/5013">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNL36XHL6WHRYIUIIDZNZ6HBAVCNFSM6AAAAABLKYFD3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDKNJZGAYDAOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPFRGTH64JY3UA3SJDZNZ6HBA5CNFSM6AAAAABLKYFD3KWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJBE4Q7E.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/5013</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/5013",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5013",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>