Reputation: 361
I need to create a nested custom page inside a resource.
The route should be like this:
/admin/quizzes/:id/my_custom_page
The problem is that we can't use belongs_to
in ActiveAdmin::Page
.
I could create the route manually of course, but would be great if the AA could handle this for us.
The documentation says nothing and the code is not so simple. :(
Any suggestion?
Upvotes: 1
Views: 829