<p dir="auto">Paths are not changed because there was no <code class="notranslate">PUT .../create</code> for creating changeset comments.</p>
<p dir="auto">The only thing that's going to look a little strange is the path helper. It's named <code class="notranslate">api_changeset_changeset_comments_path</code> with "changeset" twice. That's how rails normally names it because we have <code class="notranslate">Changeset</code> parent model/controller and <code class="notranslate">ChangesetComment</code> child model/controller, and <code class="notranslate">Changeset</code>+<code class="notranslate">ChangesetComment</code> gives <code class="notranslate">changeset_changeset_comments</code>. To avoid that it's possible to rename the child resources to just <code class="notranslate">comments</code> and get <code class="notranslate">api_changeset_comments_path</code> helper, however this name is already occupied by changeset comments that are not nested in changesets: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2004719320" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4359" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4359/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4359">#4359</a>.</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/5725'>https://github.com/openstreetmap/openstreetmap-website/pull/5725</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/commits/631e233280eb6f4f12578e458757b36d66cfb18d" class="commit-link">631e233</a> Make changeset comment create action resourceful</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/files#diff-cbcb9ae851f89928d6366b8fbce29b38d3fb6dcc2c7ae61fdf7f3bb40911b976">app/controllers/api/changeset_comments_controller.rb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/files#diff-9a5f2cb48e3a30fd0197d016bd900f26d7183d6714f3a747613c9cbe4a9c8f9d">app/views/changesets/show.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5725/files#diff-d9b2ae2e2b75786d4664345e608b1dd8e34b7854f4714bdec7afeb29b3710159">test/controllers/api/changeset_comments_controller_test.rb</a>
(48)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5725.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5725.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5725.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5725.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/5725">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM5PJASGH53U6O4DF32RISS7AVCNFSM6AAAAABXWUFHLKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3TGNBTGU4TAMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLN5RHSAKJRMEUECSJT2RISS7A5CNFSM6AAAAABXWUFHLKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKWRJG7Y.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/5725</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/5725",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5725",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>