开发者

Layout file on Padrino

开发者 https://www.devze.com 2023-01-21 17:26 出处:网络
Is it possible to use the same layout file 开发者_如何学编程across different (mounted) apps without some hackish solution (i.e. sym links) 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

精彩评论

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