Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render route containing dash #83

Open
dboris opened this issue Mar 17, 2016 · 0 comments
Open

Render route containing dash #83

dboris opened this issue Mar 17, 2016 · 0 comments

Comments

@dboris
Copy link

dboris commented Mar 17, 2016

To demonstrate the issue:

(defroute good "/:a:b/:c" [])
(good {:a 1 :b 2 :c 3}) => "/12/3"

(defroute bad "/:a-:b/:c" [])
(bad {:a 1 :b 2 :c 3}) => "/:a-2/3"

Is there any way to render "bad" as "/1-2/3"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants