All works great outside of active admin, but in the active admin scope this date based url dose not work. I have tried setting the to_param back to id with a before filter in active admin - which works again, but then leaving active admin my friendly_id does not work any more.
I ended up doing this, doesn't look elegant, but it works.
I am trying to use friendly_id with ActiveAdmin and I am sending friendly_id in my model a function
showdate_as_url
to get this to work I have this in my routes:
All works great outside of active admin, but in the active admin scope this date based url dose not work. I have tried setting the to_param back to id with a before filter in active admin - which works again, but then leaving active admin my friendly_id does not work any more.
Any ideas anyone?