lib/spontaneous/page_piece.rb in spontaneous-0.2.0.beta4 vs lib/spontaneous/page_piece.rb in spontaneous-0.2.0.beta5
- old
+ new
@@ -70,10 +70,10 @@
def style
target.resolve_style(style_id)
end
- def template(format = :html)
- style.template(format)
+ def template(format = :html, renderer = Spontaneous::Output.default_renderer)
+ style.template(format, renderer)
end
end
end