Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Template lookup now respect default locale and I18n fallbacks. | Rafael Mendonça França | 2014-12-29 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Ruby's new Hash syntax applied in actionmailer | Mr A | 2013-11-14 | 1 | -1/+1 |
| | |||||
* | Do not render views when mail() isn't called. (NullMail refactoring) | Yves Senn | 2012-10-28 | 1 | -0/+1 |
| | |||||
* | raise an error if no implicit mailer template could be found | Damien Mathieu | 2012-06-20 | 3 | -0/+0 |
| | |||||
* | Ensure templates like template.html are found but still uses the proper ↵ | José Valim | 2010-08-26 | 1 | -0/+1 |
| | | | | virtual path. | ||||
* | Adding inline attachment support to ActionMailer | Mikel Lindsaar | 2010-06-07 | 2 | -0/+9 |
| | |||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -0/+1 |
| | | | | that they shouldn't be further modified. | ||||
* | Add a failing test case for render :layout | Mikel Lindsaar | 2010-01-29 | 3 | -0/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed bug on HTML only emails getting set to text/plain | Mikel Lindsaar | 2010-01-28 | 2 | -0/+2 |
| | |||||
* | Ensure implicit multipart templates with locale works as expected. | José Valim and Mikel Lindsaar | 2010-01-24 | 4 | -0/+4 |
| | |||||
* | Add some tests to collector with templates and any. | José Valim and Mikel Lindsaar | 2010-01-23 | 2 | -0/+2 |
| | |||||
* | Get implicit multipart and attachments working together. | José Valim and Mikel Lindsaar | 2010-01-22 | 1 | -0/+1 |
| | |||||
* | First work on implicit multipart. | José Valim and Mikel Lindsaar | 2010-01-22 | 2 | -0/+2 |
| | |||||
* | Add basic template rendering to new DSL. | José Valim and Mikel Lindsaar | 2010-01-22 | 1 | -0/+1 |