← Back to Upcase

Nested path 3 level down

(charlieanna) #1

Each user can have many groups and each group can have a one timetable and I know that having a path like /users/1/groups/1/timetable is a bad idea. So what are the other ways to solve this problem?

(Patrik Bóna) #2

Just /groups/1/timetable. If you need user you can access it from group.user.

(charlieanna) #3

So this is acceptable! Ok Thanks.