1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/test/fixtures/base_mailer
Rafael Mendonça França ecb1981bfd Template lookup now respect default locale and I18n fallbacks.
Given the following templates:

    mailer/demo.html.erb
    mailer/demo.en.html.erb
    mailer/demo.pt.html.erb

Before this change for a locale that doesn't have its related file
the `mailer/demo.html.erb` will
be rendered even if `en` is the default locale.

Now `mailer/demo.en.html.erb` has precedence over the file without
 locale.

Also, it is possible to give a fallback.

    mailer/demo.pt.html.erb
    mailer/demo.pt-BR.html.erb

So if the locale is `pt-PT`, `mailer/demo.pt.html.erb` will be
 rendered given the right I18n fallback configuration.

Fixes #11884.
2014-12-29 23:48:35 -03:00
..
attachment_with_content.erb Get implicit multipart and attachments working together. 2010-01-22 14:38:41 +01:00
attachment_with_hash.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
attachment_with_hash_default_encoding.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
different_layout.html.erb Add a failing test case for render :layout 2010-01-29 17:51:05 +01:00
different_layout.text.erb Add a failing test case for render :layout 2010-01-29 17:51:05 +01:00
email_custom_layout.text.html.erb Add a failing test case for render :layout 2010-01-29 17:51:05 +01:00
email_with_translations.html.erb Ruby's new Hash syntax applied in actionmailer 2013-11-14 13:41:37 +05:30
explicit_multipart_templates.html.erb Add some tests to collector with templates and any. 2010-01-23 12:46:40 +01:00
explicit_multipart_templates.text.erb Add some tests to collector with templates and any. 2010-01-23 12:46:40 +01:00
explicit_multipart_with_one_template.erb Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified. 2010-03-19 17:20:20 +01:00
html_only.html.erb Fixed bug on HTML only emails getting set to text/plain 2010-01-28 00:24:30 +11:00
implicit_multipart.html.erb First work on implicit multipart. 2010-01-22 13:56:06 +01:00
implicit_multipart.text.erb First work on implicit multipart. 2010-01-22 13:56:06 +01:00
implicit_with_locale.de-AT.text.erb Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
implicit_with_locale.de.html.erb Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
implicit_with_locale.en.html.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.html.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.pl.text.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
implicit_with_locale.text.erb Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
inline_attachment.html.erb Adding inline attachment support to ActionMailer 2010-06-07 21:54:53 -04:00
inline_attachment.text.erb Adding inline attachment support to ActionMailer 2010-06-07 21:54:53 -04:00
plain_text_only.text.erb Fixed bug on HTML only emails getting set to text/plain 2010-01-28 00:24:30 +11:00
welcome.erb
welcome_with_headers.html.erb raise an error if no implicit mailer template could be found 2012-06-20 22:06:31 +02:00
without_mail_call.erb Do not render views when mail() isn't called. (NullMail refactoring) 2012-10-28 20:45:43 +01:00