Permalink
Browse files

AV expects options[:locals] to be a Hash

  • Loading branch information...
1 parent e19ab99 commit 5b8e6279acaa46f22118122c49350e1b08c7371a @jeremy jeremy committed Oct 15, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionmailer/lib/action_mailer/base.rb
@@ -599,6 +599,7 @@ def render_message(method_name, body)
end
def render(opts)
+ opts[:locals] ||= {}
layout, file = opts.delete(:layout), opts[:file]
begin

0 comments on commit 5b8e627

Please sign in to comment.