[openstreetmap/openstreetmap-website] Resourceful routes for received/issued blocks (PR #5440)
Anton Khorev
notifications at github.com
Tue Dec 24 05:38:05 UTC 2024
This creates `:issued_blocks` and `:received_blocks` resources for users.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5440
-- Commit Summary --
* Test active nav tabs on blocks_on/by pages
* Declare new block path on resources
* Create blocks table test helper module
* Create issued blocks resource
* Create received blocks resource
* Add revoke all actions to received blocks resource
-- File Changes --
M .rubocop_todo.yml (2)
M app/abilities/ability.rb (4)
M app/controllers/user_blocks_controller.rb (44)
A app/controllers/users/issued_blocks_controller.rb (31)
A app/controllers/users/received_blocks_controller.rb (48)
M app/views/user_blocks/_navigation.html.erb (16)
M app/views/user_blocks/_page.html.erb (3)
R app/views/users/issued_blocks/show.html.erb (4)
R app/views/users/received_blocks/edit.html.erb (2)
R app/views/users/received_blocks/show.html.erb (4)
M app/views/users/show.html.erb (12)
M config/locales/en.yml (39)
M config/routes.rb (10)
A test/controllers/user_blocks/table_test_helper.rb (24)
M test/controllers/user_blocks_controller_test.rb (282)
A test/controllers/users/issued_blocks_controller_test.rb (95)
A test/controllers/users/received_blocks_controller_test.rb (179)
M test/controllers/users_controller_test.rb (10)
M test/system/user_blocks_test.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5440.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5440.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5440
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5440 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241223/f81b0903/attachment.htm>
More information about the rails-dev
mailing list