Fork me on GitHub
#pedestal
<
2019-02-10
>
caleb.macdonaldblack22:02:59

can i put a namespaced key in a route url? like :foo/bar?

caleb.macdonaldblack22:02:47

/users/:user/id/contacts Where the namespace key is :user/id

ddeaguiar23:02:44

Hi @caleb.macdonaldblack! That won’t work as you’re expecting. :user will be interpreted as the path parameter, not :user/id.

caleb.macdonaldblack23:02:30

Okay cool. I didn't expect that to work however I wasn't sure if there was another way to achieve that. Perhaps by escaping or something