in reply to Re^3: Mojolicious absolute url with query in template? (updated)
in thread Mojolicious absolute url with query in template?
Thank you haukex! I tried url_with too but was doing something stupid that only returned the query string:
Your answer (of course) returns the absolute request url with query string:url_with('/')->to_abs->query
Also those link_to helpers are super cool. Now I see what Corion meant by passing params to the query method and why I'd want to do that.url_with('/')->to_abs
|
---|
In Section
Seekers of Perl Wisdom