Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

AV expects options[:locals] to be a Hash

  • Loading branch information...
commit 5b8e6279acaa46f22118122c49350e1b08c7371a 1 parent e19ab99
@jeremy jeremy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionmailer/lib/action_mailer/base.rb
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.