Proper routes for nested resources #4258
adrianthedev
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the scenario of
Categoryhas_manyPosts, when you click a post from a category, you are taken on a URL like/avo/resources/posts/POST_PARAM?via_record_id=CATEGORY_SLUG&via_resource_class=CATEGORY_RESOURCELet's try to mimic Rails' way of nesting
/avo/resource/categories/CATEGORY_SLUG/posts/POST_SLUGBeta Was this translation helpful? Give feedback.
All reactions