Fork me on GitHub
#pedestal
<
2018-07-09
>
alice07:07:43

No, I had to expand-routes before calling url-for-routes and I didn't catch it.

ddeaguiar12:07:58

@alice sorry to hear you were confused re: url-for. There are some docs about it’s usage on http://pedestal.io (http://pedestal.io/guides/defining-routes#_generating_urls). The key is, as you found out, that the routes must be expanded to the verbose format.

alice07:07:11

Does anyone have any examples of sessions using cookies in pedestal? I can't really find anything complete.

ddeaguiar12:07:59

@alice Pedestal wraps the ring session middleware in an interceptor. You can find out more about ring sessions by reading the docs (https://github.com/ring-clojure/ring/wiki/Sessions). That should answer your questions.