sample_rails_tailwind/test
songtianlun f2c7d02eed feat: add user deletion functionality
- Implement user destroy action in UsersController
- Add admin check for user deletion
- Update user view to include delete link for admins
- Add migration to add admin attribute to users
- Update tests to cover new admin functionality

This commit introduces the ability for admin users to delete
other users from the system. It includes necessary checks to
ensure that only admins can perform this action, along with
updates to the user interface and tests to validate the
new behavior.
2025-01-05 18:27:13 +08:00
..
controllers feat: add user deletion functionality 2025-01-05 18:27:13 +08:00
fixtures feat: add user deletion functionality 2025-01-05 18:27:13 +08:00
helpers style: standardize quotation marks and spacing 2025-01-04 10:21:22 +08:00
integration feat: add user deletion functionality 2025-01-05 18:27:13 +08:00
mailers init sample-app 2024-12-29 17:12:54 +08:00
models style: standardize quotation marks and spacing 2025-01-04 10:21:22 +08:00
system init sample-app 2024-12-29 17:12:54 +08:00
application_system_test_case.rb init sample-app 2024-12-29 17:12:54 +08:00
test_helper.rb style: standardize quotation marks and spacing 2025-01-04 10:21:22 +08:00