<p dir="auto">Previous attempt: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2398719311" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4969" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4969/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4969">#4969</a></p>
<p dir="auto">What I'm trying to achieve:</p>
<ul dir="auto">
<li>free <code class="notranslate">users_path</code> helper for POST requests that create users, as explained in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2398719311" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4969" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4969/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4969">#4969</a></li>
<li>make <code class="notranslate">app/controllers/users_controller.rb</code> smaller</li>
</ul>
<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/5391'>https://github.com/openstreetmap/openstreetmap-website/pull/5391</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/commits/bbe07185a68ae7fca210c7ea55f04fe58d7cdd73" class="commit-link">bbe0718</a> Move admin users list to its own controller</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files">13 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-4f894049af3375c2bd4e608f546f8d4a0eed95464efcdea850993200db9fef5c">.rubocop.yml</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-debf59904131dc89a88ab44cbb1d6deaaa5a7d70c0507f674080df62f7c8e41f">app/abilities/ability.rb</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-7fc2e9e30132f848d893d0dafcd5e2c93563fa2015ec4bfaf651a6745961b3c9">app/controllers/users/lists_controller.rb</a>
(41)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6e">app/controllers/users_controller.rb</a>
(27)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-f19b1a2a02849335267368937e72c57f134912f12a5c13b8e56d76d148294594">app/views/users/lists/_page.html.erb</a>
(6)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-cf5e42f440a4e17928303840d60fcaeb21c8dacad563628ae2e2a211c3ab16c7">app/views/users/lists/_user.html.erb</a>
(4)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-f0e58a3f64ec882dd5855af7743b6e5e2b4c977a4ef86ae42e4c29f1a677e361">app/views/users/lists/show.html.erb</a>
(0)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-78ff736409d758722403cce31873ba803b3fb526d37398ca21caa557b54dfd95">app/views/users/show.html.erb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(26)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(5)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-d473704a9cd38d10d79f73fee51ee232cbe6f7b8ee790f31abea82111a56db60">test/controllers/users/lists_controller_test.rb</a>
(222)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-2719d3c650da3c587f727ca3c105e6bc93a7113f85717bb15983543cf4f85ae5">test/controllers/users_controller_test.rb</a>
(215)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5391/files#diff-8ba7cd1cf6f41c4c15e35b9b6eea56551bc18e2566fadd67685312f656b12923">test/system/users_test.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5391.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5391.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5391.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5391.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/5391">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJEPQI3NRLBZ62YYIT2E4CEHAVCNFSM6AAAAABTLNZD6SVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTANBVGQ2DOMY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLODOIPKAKGCQ5WXN5L2E4CEHA5CNFSM6AAAAABTLNZD6SWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKFP3NZE.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/5391</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/5391",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5391",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>