I have a rails application that is configured to use ActiveAdmin and Devise.
I want to override editing and updating actions in PasswordsController. As far as I can tell, ActiveAdmin relies on the Devise PasswordsController.
Do I need to use the ActiveAdmin method to configure the controller / resource for this? If so, what resource is in the game to “register” for PasswordsController?
Or do I need to copy the Devise all PasswordsController from a gem to a place somewhere in my application and change the actions I want to change? If so, in which folder would I put my copy of the Devise controller to override the gem version?
What is the right way to do this?
source
share