I'd like to change the params towards which the EditButton takes you. I want this button to take you to /:customer_id instead of /:id. Right now when you click on the "Edit" button in the table in the frontend, it takes you to "/id" (so for instance if you are in localhost:3000/purchases, and you click on the EditButton of the first row it takes you to, for example localhost:3000/purchases/1.
Instead, I want this button to take me to customer_id, like for example "localhost:3000/purchases/2138" (2138 is an example of a customer_id)
How can I do this?