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

Wildcard match list of values? #327

Open
Jakobud opened this issue Feb 11, 2016 · 0 comments
Open

Wildcard match list of values? #327

Jakobud opened this issue Feb 11, 2016 · 0 comments

Comments

@Jakobud
Copy link

Jakobud commented Feb 11, 2016

Instead of using a regex based wildcard match, can my url parameters be based on an array of acceptable words?

Like, if my route is:

/:channel/:id

There is a limited number of acceptable things channel could be. It can't just be anything the visitor types in.

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

No branches or pull requests

1 participant