Commit Graph

1 Commits

Author SHA1 Message Date
Konstantin Haase e5e00471fe Skip implicit layouts for nested templates.
That way the following will produce valid HTML:

@@ layout
!!!
= yield

@@ content
%html
  %head= haml :head
  %body= haml :body

That way using render methods for partials is a lot easier.
Tests included.
2010-09-27 13:25:10 +02:00