lib/spontaneous/output/format.rb in spontaneous-0.2.0.alpha7 vs lib/spontaneous/output/format.rb in spontaneous-0.2.0.beta1

- old
+ new

@@ -115,9 +115,13 @@ def initialize(page, content = nil) @page, @content = page, content @content ||= page end + def model + content.model + end + def render(params = {}, *args) render_using(default_renderer, params, *args) end def render_using(renderer, params, *args)