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:
parent
e19ab99134
commit
5b8e6279ac
1 changed files with 1 additions and 0 deletions
|
@ -599,6 +599,7 @@ module ActionMailer #:nodoc:
|
|||
end
|
||||
|
||||
def render(opts)
|
||||
opts[:locals] ||= {}
|
||||
layout, file = opts.delete(:layout), opts[:file]
|
||||
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue