Skip to content

Commit

Permalink
Fix included_taglibs parameter of Dryml.render
Browse files Browse the repository at this point in the history
The included_taglibs parameter of Dryml.render wasn't actually used in
any way. Now it's fixed to be properly passed to Dryml.make_renderer_class
[#761 state:resolved]
  • Loading branch information
betelgeuse authored and bryanlarsen committed Sep 16, 2010
1 parent 0363484 commit 4fecde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dryml/lib/dryml.rb
Expand Up @@ -284,8 +284,8 @@ def render(template_src, locals={}, template_path=nil, included_taglibs=[], view
this = locals.delete(:this) || nil

renderer_class = Dryml::Template.build_cache[template_path]._?.environment ||
Dryml.make_renderer_class(template_src, template_path, locals.keys)
renderer_class.new(template_path, view).render_page(this, locals)
Dryml.make_renderer_class(template_src, template_path, locals.keys, [], included_taglibs)
renderer_class.new(template_path, view).render_page(this, locals)
end

end

0 comments on commit 4fecde8

Please sign in to comment.