Revision 630061d2
Added by Michael Moll almost 6 years ago
test/mailers/application_mailer_test.rb | ||
---|---|---|
class TestMailer < ::ApplicationMailer
|
||
def test(to, subject)
|
||
mail(:to => to, :subject => subject) do |format|
|
||
format.html { render :plain => html_mail }
|
||
format.html { render :plain => html_mail }
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop