mojolicious/mojo

Cover all aspects of url_for in the guides

Open

#1,109 opened on Jul 22, 2017

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Perl (591 forks)auto 404
docshelp wanted

Repository metrics

Stars
 (2,745 stars)
PR merge metrics
 (PR metrics pending)

Description

Using url_for with named routes is pretty well covered.

# "/myapp/index.html?foo=bar" if application is deployed under "/myapp"
$c->url_for('/index.html')->query(foo => 'bar');

But how it can make relative paths absolute, or how the returned Mojo::URL object can be modified is not covered very well yet.

Contributor guide