Reputation: 855
I have a rate field form that's needs to be moderated by an admin and if everything's okay, show it on a page. So how can I send this form's data straight to the ActiveAdmin?
Upvotes: 0
Views: 216
Reputation: 3073
It's easier to create a normal controller for that, wich stores the data and then ActiveAdmin shows up the data to the moderator.
If you really want to do that:
form-admin
(Other wise you will get a security problem or more).controller do; protect_from_forgery :except => :create; end
/form-admin/your-modelname
as post./form-admin/your-modelname/new
Upvotes: 1