aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/fixtures/base_mailer
Commit message (Collapse)AuthorAgeFilesLines
* Add test and change how format set in ActionMailerJohn Hawthorn2019-03-012-0/+2
| | | | | | | | | | Previously this used self.formats= to set the format which render would use to find templates. This worked, but was untested, and looked a little confusing because it was doing the mutation within a loop. This commit replaces the assignment with passing formats: [format] into the render call, which makes it more obvious that that's the purpose of the format. It also adds a test to verify the formats being used.
* Removing unused mailer templatesThiago Pradi2015-03-011-1/+0
|
* Template lookup now respect default locale and I18n fallbacks.Rafael Mendonça França2014-12-292-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 actionmailerMr A2013-11-141-1/+1
|
* Do not render views when mail() isn't called. (NullMail refactoring)Yves Senn2012-10-281-0/+1
|
* raise an error if no implicit mailer template could be foundDamien Mathieu2012-06-203-0/+0
|
* Ensure templates like template.html are found but still uses the proper ↵José Valim2010-08-261-0/+1
| | | | virtual path.
* Adding inline attachment support to ActionMailerMikel Lindsaar2010-06-072-0/+9
|
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-0/+1
| | | | that they shouldn't be further modified.
* Add a failing test case for render :layoutMikel Lindsaar2010-01-293-0/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed bug on HTML only emails getting set to text/plainMikel Lindsaar2010-01-282-0/+2
|
* Ensure implicit multipart templates with locale works as expected.José Valim and Mikel Lindsaar2010-01-244-0/+4
|
* Add some tests to collector with templates and any.José Valim and Mikel Lindsaar2010-01-232-0/+2
|
* Get implicit multipart and attachments working together.José Valim and Mikel Lindsaar2010-01-221-0/+1
|
* First work on implicit multipart.José Valim and Mikel Lindsaar2010-01-222-0/+2
|
* Add basic template rendering to new DSL.José Valim and Mikel Lindsaar2010-01-221-0/+1