Rails Active Admin Modify Default Actions -
i have rails app , i'm using active admin (0.3.1) mi admin interface. thing want add new model it, need insert custom code on create action after user submits form.
is possible? how it's done?
i need process data , create other objects in create process.
thanks in advanced.
if want modify activeadmin controller, this:
activeadmin.register post controller # code evaluated within controller class def create # override action here end end end
Comments
Post a Comment