Closed janko closed 6 months ago
Thanks for the patch. I'll probably have time to review on December 27.
Just FYI, I renamed route
to current_route
after merging, as I think that is a better name (especially given your spec description).
Thanks for merging, I agree with the rename 👍🏻
As discussed in https://github.com/jeremyevans/rodauth/discussions/380, this is useful for generating path or URL for current route with different parameters, while still reusing configured route definitions.
This is the minimal functionality needed to support this use case. I was considering also adding
current_path
andcurrent_url
methods that would utilize this, but thought that might be an overkill for now.