fix: broken link in admin account user list (#11661)

- Add a dummy link for account users page that redirect back to user
page
- move common account user form in user and account super admin pages to
a partial

fixes:  #10757
This commit is contained in:
Sojan Jose
2025-06-04 21:37:05 -05:00
committed by GitHub
parent ee293c3598
commit 2f40f95f77
5 changed files with 64 additions and 89 deletions

View File

@@ -533,7 +533,7 @@ Rails.application.routes.draw do
end
# resources that doesn't appear in primary navigation in super admin
resources :account_users, only: [:new, :create, :destroy]
resources :account_users, only: [:new, :create, :show, :destroy]
end
authenticated :super_admin do
mount Sidekiq::Web => '/monitoring/sidekiq'