mojolicious/mojo

Cover all aspects of url_for in the guides

开放

#1,109 创建于 2017年7月22日

 (5 条评论) (0 个反应) (0 位负责人)Perl (591 个派生)auto 404
docshelp wanted

仓库指标

星标
 (2,745 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南