aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/mailer/templates/layout.html.erb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2014-11-25 01:59:43 +0300
committerDavid Heinemeier Hansson <david@loudthinking.com>2014-11-25 01:59:43 +0300
commit35362fc2263d4d7784de172cb5f97eb2541fb65a (patch)
treee81260a3a7d9bea35fc091515162e307efc1893f /railties/lib/rails/generators/erb/mailer/templates/layout.html.erb
parent9685080a7677abfa5d288a81c3e078368c6bb67c (diff)
parenta58da25d90962a39ad916fc4de22a0a0c81ba034 (diff)
downloadrails-35362fc2263d4d7784de172cb5f97eb2541fb65a.tar.gz
rails-35362fc2263d4d7784de172cb5f97eb2541fb65a.tar.bz2
rails-35362fc2263d4d7784de172cb5f97eb2541fb65a.zip
Merge pull request #17646 from andyjeffries/html_layout_fix
Creating mailer layouts by default, including html and body tags
Diffstat (limited to 'railties/lib/rails/generators/erb/mailer/templates/layout.html.erb')
-rw-r--r--railties/lib/rails/generators/erb/mailer/templates/layout.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/erb/mailer/templates/layout.html.erb b/railties/lib/rails/generators/erb/mailer/templates/layout.html.erb
new file mode 100644
index 0000000000..93110e74ad
--- /dev/null
+++ b/railties/lib/rails/generators/erb/mailer/templates/layout.html.erb
@@ -0,0 +1,5 @@
+<html>
+ <body>
+ <%%= yield %>
+ </body>
+</html>