I’m trying to add ordering/re-ordering to a resource in Active Admin. I understand that you can sort by the different columns for viewing while logged in. What I’d like to do is be able to order items so they display in a specific order on the front end. Any ideas on how to accomplish this?
I have a sort column in the database already.
Also I’d like to display the items in that specific order on in the admin section.
Anyone have any ideas on how I’d accomplish this?
I implemented this recently using a column called position on my HomeSlide model.
Add this to your active_admin javascripts (coffee script)