Fork me on GitHub
#pedestal
<
2017-06-09
>
lxsameer20:06:27

hey guys, does pedestal's router supports bidirectional route resolving ? for example, can I get the url related to a specific function ?

ddeaguiar20:06:47

@Ixsameer the handler name is used as the route name by default. This can be overridden by specifying :route-name

ddeaguiar20:06:49

this allows you to get the url for a handler via url-for