aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/fixtures/layouts
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-09-09 17:25:09 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-09-09 17:25:09 -0500
commit6228220c9b8a3bb32f8617ad2d963dabc965376e (patch)
treececf4f2ef0fd7c2747826fd22c56ba8f596ed1c4 /actionmailer/test/fixtures/layouts
parent36c6aa01ee0a7aee5b0510a8e649c44de318b060 (diff)
downloadrails-6228220c9b8a3bb32f8617ad2d963dabc965376e.tar.gz
rails-6228220c9b8a3bb32f8617ad2d963dabc965376e.tar.bz2
rails-6228220c9b8a3bb32f8617ad2d963dabc965376e.zip
Revert "Revert "Add layout functionality to mailers.""
This reverts commit 36c6aa01ee0a7aee5b0510a8e649c44de318b060.
Diffstat (limited to 'actionmailer/test/fixtures/layouts')
-rw-r--r--actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb1
-rw-r--r--actionmailer/test/fixtures/layouts/spam.html.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb b/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb
new file mode 100644
index 0000000000..932271450c
--- /dev/null
+++ b/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb
@@ -0,0 +1 @@
+Hello from layout <%= yield %> \ No newline at end of file
diff --git a/actionmailer/test/fixtures/layouts/spam.html.erb b/actionmailer/test/fixtures/layouts/spam.html.erb
new file mode 100644
index 0000000000..619d6b16b4
--- /dev/null
+++ b/actionmailer/test/fixtures/layouts/spam.html.erb
@@ -0,0 +1 @@
+Spammer layout <%= yield %> \ No newline at end of file