1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

AV expects options[:locals] to be a Hash

This commit is contained in:
Jeremy Kemper 2009-10-14 20:59:33 -07:00
parent e19ab99134
commit 5b8e6279ac

View file

@ -599,6 +599,7 @@ module ActionMailer #:nodoc:
end
def render(opts)
opts[:locals] ||= {}
layout, file = opts.delete(:layout), opts[:file]
begin