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

Add * option to routes #3

Open
averyvery opened this issue Nov 5, 2011 · 0 comments
Open

Add * option to routes #3

averyvery opened this issue Nov 5, 2011 · 0 comments

Comments

@averyvery
Copy link
Owner

Right now, if you wanted to write a blog with Freeway, you'd have to account for all possible URLs:

journal => blog
journal/{{post}} => blog/{{post}}
journal/category/{{category}} => blog/category/{{category}}

And this doesn't even account for pagination. Obviously, this sucks super hard — ideally, devs should be able to wildcard the remainder of a pattern to match it:

journal/* => blog/*
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