We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be cool if we could, when declaring routes, specify a context for a given set of routes.
It's not annoying per se, but it would be nice to see some structure.
On.context("/context", () -> { On.get("/thing1").json(...); On.get("/thing2").json(...); })
The text was updated successfully, but these errors were encountered:
I just realise it could be given the setup to setup the routes.
On.context("/context", setup -> { setup.get("/thing1").json(...); setup.get("/thing2").json(...); });
EDIT: But then I just realised the setup is fairly static, so we can't just alter that...
Sorry, something went wrong.
No branches or pull requests
It would be cool if we could, when declaring routes, specify a context for a given set of routes.
It's not annoying per se, but it would be nice to see some structure.
The text was updated successfully, but these errors were encountered: