gregbell/active_admin — Issue #871: The new action redirect show the edit action of the first item
Author: Ditchou
Created: 2011-12-22 14:59:51+00:00
State: open

Hello,

I have a problem with activeadmin. For each of my models, everything work fine but for my model "Magazine", when i type on the new button, it shows me the edit action of the first item of my database :

The url is :

/admin/magazines/new

But, the fields are loaded with the value of my item with id = 1 and the button at the bottom is an update button.

Any idea?

Thank you