Revert "fix to adminGenerator for actions"

This reverts commit e6209d88a36a9a4a7d77695a9a304cf4ac0a06b8.