From bd5ed651105663cb4bc5acd86ad8bdf48251d0fe Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Mon, 26 Nov 2007 03:36:28 +0000 Subject: Update ActionMailer so it treats ActionView the same way that ActionController does. Closes #10244 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb | 1 + .../test/fixtures/test_mailer/included_subtemplate.text.plain.erb | 2 +- actionmailer/test/fixtures/test_mailer/subtemplate.text.plain.erb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb delete mode 100644 actionmailer/test/fixtures/test_mailer/subtemplate.text.plain.erb (limited to 'actionmailer/test/fixtures/test_mailer') diff --git a/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb b/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb new file mode 100644 index 0000000000..3b4ba35f20 --- /dev/null +++ b/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb @@ -0,0 +1 @@ +let's go! \ No newline at end of file diff --git a/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb b/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb index de9b2039fa..a93c30ea1a 100644 --- a/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +++ b/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb @@ -1 +1 @@ -Hey Ho, <%= render "subtemplate" %> \ No newline at end of file +Hey Ho, <%= render :partial => "subtemplate" %> \ No newline at end of file diff --git a/actionmailer/test/fixtures/test_mailer/subtemplate.text.plain.erb b/actionmailer/test/fixtures/test_mailer/subtemplate.text.plain.erb deleted file mode 100644 index 3b4ba35f20..0000000000 --- a/actionmailer/test/fixtures/test_mailer/subtemplate.text.plain.erb +++ /dev/null @@ -1 +0,0 @@ -let's go! \ No newline at end of file -- cgit v1.2.3