In my Yesod app I have a route defined as
/bookings/#BookingId/review-data BookingReviewDataR GET
I need to pass the route to the frontend of the application in such a way that the frontend could call the endpoint for any user defined BookingId
.
Is there something similar to getUrlRender
to retrieve from Yesod a string representation of the route with a placeholder instead of a BookingId
?