This works but seems wrong: <%= url_for('/')->to_abs %>?<%= url_with->query %> Is there a better way?
Absolutely!
<%= url_for('/')->to_abs->query(foo=>"bar") %>
In reply to Re: Mojolicious absolute url with query in template?
by haukex
in thread Mojolicious absolute url with query in template?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |