开发者

Layout file on Padrino

Is it possible to use the same layout file 开发者_如何学编程across different (mounted) apps without some hackish solution (i.e. sym links) on Padrino ?

Cheers, Ze


You can use:

render :foo, :layout => :"path/to/layout"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜