Different set of resource based on path
Hi, is it possible to have a different set of resource based on the first segment of the path?
e.g.
for /path1/...
I want the resources to be
[
{
name: 'a1',
...
},
{
name: 'a2',
...
},
]
but for /path2/...
I want the resources to be
[
{
name: 'b1',
...
},
{
name: 'b2',
...
},
]
e.g.
for /path1/...
I want the resources to be
[
{
name: 'a1',
...
},
{
name: 'a2',
...
},
]
but for /path2/...
I want the resources to be
[
{
name: 'b1',
...
},
{
name: 'b2',
...
},
]
