mojolicious/mojo

Cover all aspects of url_for in the guides

Ouverte

#1 109 ouverte le 22 juil. 2017

 (5 commentaires) (0 réaction) (0 personne assignée)Perl (591 forks)auto 404
docshelp wanted

Métriques du dépôt

Stars
 (2 745 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur