in reply to Re: Mojolicious absolute url with query in template?
in thread Mojolicious absolute url with query in template?
Thanks for replying. I tried adding ->query before asking the question, because it seemed logical, but it didn't work as expected. This displays the url without the query string:
But this displays absolutely nothing:<%= url_for('/')->to_abs %>
Here's the weird part, a link made with "to_abs->query" works, but can't be right clicked ("Void" link with click handler) and when source is viewed the href appears to be blank:<%= url_for('/')->to_abs->query %>
What is this voodoo?<a href="<%= url_for('/')->to_abs->query %>"> Reload </a>
In Section
Seekers of Perl Wisdom