I have two models :
Project
has_one :abstract
Abstract
belongs_to :project
After reading the active admin documentation I do this :
member_action :abstracts do
@project = Project.find(params[:id])
@abstract = @project.abstract
end
Then I create an abstracts.html.arb in admin/project and I can access to it by this url /admin/projects/:id/abstracts
My question is how can I add the form to create/edit/delete/show abstract from here ?