[openstreetmap/openstreetmap-website] Move admin users list to its own controller (PR #5391)
Anton Khorev
notifications at github.com
Tue Dec 10 15:29:07 UTC 2024
Previous attempt: #4969
What I'm trying to achieve:
- free `users_path` helper for POST requests that create users, as explained in #4969
- make `app/controllers/users_controller.rb` smaller
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5391
-- Commit Summary --
* Move admin users list to its own controller
-- File Changes --
M .rubocop.yml (2)
M app/abilities/ability.rb (3)
A app/controllers/users/lists_controller.rb (41)
M app/controllers/users_controller.rb (27)
R app/views/users/lists/_page.html.erb (6)
R app/views/users/lists/_user.html.erb (4)
R app/views/users/lists/show.html.erb (0)
M app/views/users/show.html.erb (4)
M config/locales/en.yml (26)
M config/routes.rb (5)
A test/controllers/users/lists_controller_test.rb (222)
M test/controllers/users_controller_test.rb (215)
M test/system/users_test.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5391.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5391.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5391
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5391 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241210/d3deb174/attachment.htm>
More information about the rails-dev
mailing list