1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

1 commit

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