Replaces: - `post grant_role_path` with `put user_role_path` - `post revoke_role_path` with `delete user_role_path` You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5293 -- Commit Summary -- * Use resourceful routes for granting/revoking user roles -- File Changes -- M app/abilities/ability.rb (2) M app/controllers/concerns/user_methods.rb (5) M app/controllers/user_roles_controller.rb (8) M app/helpers/user_roles_helper.rb (8) M config/routes.rb (8) M test/controllers/user_roles_controller_test.rb (46) M test/helpers/user_roles_helper_test.rb (36) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5293.patch https://github.com/openstreetmap/openstreetmap-website/pull/5293.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5293 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
