开发者

Am I allowed to use render :layout within render :layout in HAML 3.1?

I'm upgrading our app from rails 2.3.10 to 2.3.12, and in doing so had to upgrade from HAML 3.0.21 to 3.1.2. It has broken in a few places, all of them where we used render :layout from within a template that was already inside a layout. Is that an invalid use that HAML has now forbid开发者_运维技巧den, or has it broken somewhere in HAML?


It's a bug: http://github.com/nex3/haml/issues/403

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜