开发者

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

开发者 https://www.devze.com 2023-03-11 08:38 出处:网络
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 templ

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

精彩评论

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