Embed layout_parts in layout and correct typo

This commit is contained in:
chris2tof committed 2011-08-18 16:27:04 +08:00
1 parent 86443661e9
commit 20afb23a5f
4 files changed
+4 -8

No files matched your search

-4
View File
@@ -230,12 +230,8 @@ module Parser
def parser_layout_layout_part(layout )
Radius::Context.new do |c|
c.define_tag 'javascripts' do |tag|
contents = tag.expand
contents.to_s
end
c.define_tag 'stylesheets' do |tag|
contents = tag.expand
contents.to_s
end
c.define_tag 'layout_part' do |tag|
data={}