sample_rails_tailwind/test/controllers
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
..
.keep init sample-app 2024-12-29 17:12:54 +08:00
sessions_controller_test.rb feat(sample): add session and header 2025-01-01 15:44:50 +08:00
static_pages_controller_test.rb style: standardize quotation marks and spacing 2025-01-04 10:21:22 +08:00
users_controller_test.rb feat: add user deletion functionality 2025-01-05 18:27:13 +08:00