<p>This renames the delete action to destroy, and starts using resourceful routing for user actions.</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/2651'>https://github.com/openstreetmap/openstreetmap-website/pull/2651</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Rework user#set_status and #delete to avoid GET requests</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651/files#diff-10626e4abd816566b39f76b405c3be77">app/abilities/ability.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651/files#diff-4e05ad0d64e6100656b63ad1e78f32c5">app/controllers/users_controller.rb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651/files#diff-c7c9a522f39f5d8cd9b512cd928b2d14">app/views/users/show.html.erb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651/files#diff-21497849d8f00507c9c8dcaf6288b136">config/routes.rb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651/files#diff-bb4f56cd35d59167613aebdb789fbc7a">test/controllers/users_controller_test.rb</a>
    (26)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2651.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2651.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2651.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2651.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2651">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLGTIDJGWGQ3WCLRETRV5JSZANCNFSM4N2G52IQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLO7HY6AX4AG4QLCMBLRV5JSZA5CNFSM4N2G52I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JPKHLPQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2651",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2651",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>