lib/ronn/template.rb in ronn-ng-0.10.1.pre4 vs lib/ronn/template.rb in ronn-ng-0.10.1.pre6
- old
+ new
@@ -11,10 +11,10 @@
@document = document
@style_path = style_path + [Template.template_path]
end
def render(template = 'default')
- super template[0, 1] == '/' ? File.read(template) : partial(template)
+ super(template[0, 1] == '/' ? File.read(template) : partial(template))
end
##
# Basic document attributes