I have a client with a Rails 6 site running ActiveAdmin, and the client would like to return the user back to the page he or she was on in the index after selecting edit and updating a record.
For example, if a user is on the page /admin/employees?page=2
and clicks the "Edit" link for an employee, after updating the employee record, they want to be returned back to /admin/employees?page=2
I've got how to return it back to the index page instead of the show page, I just can't get it to go back to page it was on.
Can anyone help?