My User model can create either an Employer or a Jobseeker, depending on whether the boolean Employer attribute is true or not.
What I want to do is have separate pages for Employer and for Jobseeker, not just separate scopes. The pages will have completely different tables on.
Many thanks!
You can simply register your model twice but name it differently every time.
ActiveAdmin.register User, as: 'Employer' do
# ...
end
ActiveAdmin.register User, as: 'Jobseeker' do
# ...
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With