Jules Maregiano

Joined

250 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in Madmin: How to handle slugs vs IDs

I've set up Madmin, and I'm trying to go to the (blog) Article model edit page.
Problem is Article's "to_param" is the :slug.
Madmin by default looks for model's IDs: How can I tell it to look for the slug?
Thanks a lot!