<p dir="auto">I wanted to rename <code class="notranslate">user_new_path</code>, it's standard name should be <code class="notranslate">new_user_path</code>. I tried using resourceful routes but we have <code class="notranslate">create</code> action mapped to <code class="notranslate">POST</code> <code class="notranslate">/user/new</code> which is also nonstandard. Then I'd have to do both <code class="notranslate">new</code> and <code class="notranslate">create</code> actions with resourceful routes and this will want to rewrite <code class="notranslate">users_path</code>. <code class="notranslate">users_path</code> is currently mapped to admin users list. I have to rename it first which is easier to do if I move it to a different module.</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/4969'>https://github.com/openstreetmap/openstreetmap-website/pull/4969</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/commits/26a03e5305ab7a4bdcc110d78e000e31abcc2a7d" class="commit-link">26a03e5</a> Move users list to administrator module</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files">9 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-4f894049af3375c2bd4e608f546f8d4a0eed95464efcdea850993200db9fef5c">.rubocop.yml</a>
(2)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-702ab23bc481c0733a29f5b58c8de39baeae7b285fdeb40c24522f36551102b2">app/controllers/administrator/users_controller.rb</a>
(35)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6e">app/controllers/users_controller.rb</a>
(23)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-b6a3aff3b88848c86232f1378d44b37a8d1c6b8acfd210bf2264ff567e9f2024">app/views/administrator/users/_user.html.erb</a>
(4)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-e0d360e03913525e22b28c093ad8aadd67152c5d00e6387118919aa129f41f3d">app/views/administrator/users/index.html.erb</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(29)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(6)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-b663b059cb8f079c9195198634ef495f146b18ad85e18e9b98af37ae54bf3180">test/controllers/administrator/users_controller_test.rb</a>
(224)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4969/files#diff-2719d3c650da3c587f727ca3c105e6bc93a7113f85717bb15983543cf4f85ae5">test/controllers/users_controller_test.rb</a>
(215)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4969.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4969.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4969.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4969.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/4969">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLII47SRCXIHAN4XBYDZLQI7LAVCNFSM6AAAAABKTIIBT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TQNZRHEZTCMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPIJG5YQYGETESMJDLZLQI7LA5CNFSM6AAAAABKTIIBT2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI56MNJ4.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/4969</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/4969",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4969",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>