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

Already on GitHub? Sign in to your account

Routes regex use not documented #598

Closed
redonkulus opened this Issue Oct 5, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

redonkulus commented Oct 5, 2012

I noticed there is no mention of using Regex to configure a route in the mojito configuration page.

Here is the page I would expect it to be in:
http://developer.yahoo.com/cocktails/mojito/docs/intro/mojito_configuring.html#routing

It mentions call, params, path and verbs but not regex. A user in the freenode forum had a use case for this problem but couldn't find a solution since it was undocumented.

@ghost ghost assigned zhouyaoji Oct 5, 2012

Contributor

rwaldura commented Oct 5, 2012

let's

zhouyaoji pushed a commit that referenced this issue Oct 13, 2012

Merge pull request #627 from zhouyaoji/docs_routing_add_regex
[doc: GH issue #598] The routing configuration documentation covers the 'regex' property.
Contributor

zhouyaoji commented Oct 13, 2012

I've updated the source docs, so you can view using regular expressions for routing at the following URLs:

YDN seems to be making template changes, so I was unable to publish the latest docs on YDN. I'll get in contact with them and push them as soon as possible.

Contributor

redonkulus commented Oct 13, 2012

This looks good. Thanks.

Contributor

zhouyaoji commented Oct 15, 2012

Great, I just published the doc to YDN.

@zhouyaoji zhouyaoji closed this Oct 15, 2012

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