-
Notifications
You must be signed in to change notification settings - Fork 74
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
How to use url_for in mounted router? #132
Comments
Exposing the |
At the moment I can see these solutions:
What do you think? |
@flosse IMO the proper solution is to add a However, we have to find out how to be able to modify a small part of the request without copying everything over. |
I think the real long term solution to this problem is to just merge |
Yeah, that sounds useful to me. Routing and mounting are very closely related anyways :) |
@reem are there already any concrete plans for such a merge? |
let's say I mounted a router to
admin/
and useurl_for
within a handler of that router.The redirect url points to
/dashboard
instead of/admin/dashboard
.How would you solve this?
The text was updated successfully, but these errors were encountered: