I'm making a page with activeadmin to update password of current user. I have a non-persisted model to check validation of password, etc. My problem is that when I try
ActiveAdmin.register UpdatePassword do
actions :edit, :update
end
It creates the routes /update_passwords/:id and /update_passwords/:id/edit.
I want to change those routes to /update_passwords via get and put.
Is there any way to change that?